Groups autocomplete in admin broken?

  1. I open a user’s Admin page
  2. I type a group name into the Custom Group field
  3. The autocomplete list pops up
  4. The first group in the list is highlighted, while the desired group is underlined
  5. Hitting enter selects the highlighted group, not the one I was typing.
2개의 좋아요

I wish this list filtered as you typed. :pray: :star2:

4개의 좋아요

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.

https://github.com/discourse/discourse/pull/4171

6개의 좋아요

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.

3개의 좋아요

@Tom_Newsom with these results being filtered now, for me this works as expected. Does this cover your request completely?

3개의 좋아요

Works perfectly :slight_smile: Thanks!

1개의 좋아요