In the new enrol users control, if I search and see a list of users, then select one of them, I would expect the search results to continue to show the other users (or at worst some message saying I had to search again). What actually happens is that the search results disappear and a message saying "No suggestions" is shown.
This appears to happen only when the search matches on email - when matching on name it works as expected.
So, to reproduce:
- Create ten users: Person One (firstname.lastname@example.org) etc
- Go into participants in a course and click "enrol users"
- Search for example.com
- Select one of the users
- The search results are replaced with a "no suggestions" label