Skip to content

Clear reviewers dropdown search when closing

Phil Hughes requested to merge ph/393861/userSearchClearSearchInput into master

What does this MR do and why?

This fixes a strange behaviour where if you search for a reviewer, select that reviewer and then close the dropdown and re-open it will render the list of users and then send another request to search the same search term as previous. This merge request simply clears the input field to stop this from happening.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #393861 (closed)

Merge request reports