Merge request reviewers search bar does not reset after selecting reviewers
Summary
When utilizing the Reviewers control in a Merge Request (MR) on GitLab and searching for specific usernames or email addresses to add as reviewers, there's an issue with the search bar not resetting upon selecting a reviewer. As a result, after adding a reviewer, the search bar retains the previous search query, requiring users to manually clear the search bar in order to add additional reviewers. This persistence of the search query causes delays and inconvenience for users who wish to add multiple reviewers in succession.
Steps to reproduce
- Navigate to a Merge Request.
- Click on the Reviewers control to add reviewers.
- Begin typing a username or email address to search for a reviewer.
- Select a reviewer from the search results.
- Note that the search bar retains the entered text instead of resetting.
What is the current bug behavior?
Reviewers search bar maintains the previous search string.
What is the expected correct behavior?
Reviewers search bar should reset to quickly search for any other desired user.
Output of checks
This bug happens on GitLab.com
Edited by Alejandro Guerrero