#33511: Single-select admin autcomplete widget has lost its auto-focus
-------------------------------------------------+------------------------
Reporter: [email protected] | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 1 |
-------------------------------------------------+------------------------
Dear Django team,
here’s a bug in Django admin related to the autocomplete fields
functionality.
I believe that the single-select autocomplete widget does not auto-focus
the input field anymore since Django 4 has been released.
I've been checking myself, but couldn't track down the issue.
I checked
https://github.com/django/django/tree/main/django/contrib/admin/static/admin/js
for a breaking change introduced in 4.0.
The release log doesn't mention anything either:
https://docs.djangoproject.com/en/4.0/releases/4.0/#django-contrib-admin
Current behavior:
Inside any change form view, click a field that is single-select with
auto-complete enabled.
A panel opens. It has a search field and shows the initial batch of
results.
The search field is not focused automatically (like it used to be in 3.x).
(see screenshot)
Expected behavior:
Same as above, but with the search field being focused.
--
Ticket URL: <https://code.djangoproject.com/ticket/33511>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/054.63b0dfda770a7cd6b8651b7effa9d83a%40djangoproject.com.