#33504: Admin autocomplete search input does not get focused on click
-------------------------------------+-------------------------------------
Reporter: Márton | Owner: nobody
Salomváry |
Type: Bug | Status: new
Component: | Version: 4.0
contrib.admin | Keywords: admin autocomplete
Severity: Normal | select2 focus
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 1 |
-------------------------------------+-------------------------------------
When using `autocomplete_fields` I expect the autocomplete dropdown's
search input to be focused when the autocomplete is open. This used to be
the case before 4.0 but it is no longer the case in 4.x.
Steps to reproduce:
- Clone this repo: https://github.com/salomvary/django-select2-bug
- `pip3 install django==4`
- `python3 ./manage.py runserver`
- Open http://127.0.0.1:8000/admin/myappp/thing/add/
- Sign in with username: admin, password: admin
- Click on the select next to "Other things:"
Expected: search input is focused.
Actual: search input is not focused.
After `pip3 install django==3` and restarting the server, the select can
be tested with the expected behavior.
--
Ticket URL: <https://code.djangoproject.com/ticket/33504>
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/052.f40cae6ffa9434ebe508f97107f98855%40djangoproject.com.