#30275: Autofocus the first field in contrib.admin add form
-------------------------------------+-------------------------------------
Reporter: Remoddy | Owner: nobody
Type: | Status: new
Uncategorized |
Component: | Version: 2.1
contrib.admin |
Severity: Normal | Keywords: focus, autofocus
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
The contrib.admin pages to add new instance of a model used to be
autofocused in 1.9 (so just after visiting /model/add admin URL you could
type in value for the first model field from keyboard). That changed in
1.10 (you need to click the first widget with mouse or press [Tab] a few
times). I guess, [d638cdc42acec608c1] was the relevant commit. Still no
autofocus in 2.1.
I believe, the old behavior (first item focused) is by design, see #15987,
so it is a regression.
--
Ticket URL: <https://code.djangoproject.com/ticket/30275>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.c03f242653cec559cc012458fcf48f0a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.