﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33504	Admin autocomplete search input does not get focused on click	Márton Salomváry	nobody	"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.

"	Bug	closed	contrib.admin	4.0	Normal	invalid	admin autocomplete select2 focus	Carlton Gibson	Unreviewed	0	0	0	0	0	1
