Username autocomplete does not go away after typing comma

I have added a check on the client side to ensure that the search term is validated using same rule as on the server side (specifically UsernameValidator.username_char_valid?).

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

7 Likes