- I open a user’s Admin page
- I type a group name into the Custom Group field
- The autocomplete list pops up
- The first group in the list is highlighted, while the desired group is underlined
- Hitting enter selects the highlighted group, not the one I was typing.

AI-generated summary
In the UX category, Tom_Newsom reported a bug in the admin groups autocomplete feature where the first item in the list is highlighted by default, causing the ‘Enter’ key to select the wrong group instead of the one being typed. DeanMarkTaylor suggested the list should filter as the user types and subsequently created a pull request to implement this filtering logic DeanMarkTaylor. tobiaseigen supported the change, noting it would significantly help sites with many groups. DeanMarkTaylor also added a development note regarding the use of a deprecated select2 option that should be addressed. After testing the filtered results, Tom_Newsom confirmed that the fix works perfectly.
I wish this list filtered as you typed.
![]()
I’ve created a pull request which I believe will add filtering…
It’s going to need testing / checking by someone else before being accepted as pull request as I don’t have a development environment setup.
thanks for pointing this out - I have been meaning to mention it. I have alot of groups on my site and having it autocomplete and autofilter will be a big help.
A development note:
I noted that this code uses a now deprecated select2 option called query. This might want to be added to a todo list of some kind.
@Tom_Newsom with these results being filtered now, for me this works as expected. Does this cover your request completely?
Works perfectly
Thanks!
