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.
* Attachment "Ohne Titel.png" added.
* status: new => closed
* resolution: => duplicate
Comment:
Duplicate of #33504.
--
Ticket URL: <https://code.djangoproject.com/ticket/33511#comment:1>
Comment (by jul...@pinabausch.org):
Thanks & sorry!
--
Ticket URL: <https://code.djangoproject.com/ticket/33511#comment:2>