If you search for a component using the search bar of the dropdown list, collapse the list with the input of an empty search result and open the list again, you are forced to type something just to delete it in order to restore all entries.
This is a weird design choice - if intended - to me, the dropdown search should retain the search input and results across collapsing and reopening the list but not wiping the input but retaining the output, especially if it's empty.
See the Kapture attached for my reproduction steps.
If you search for a component using the search bar of the dropdown list, collapse the list with the input of an empty search result and open the list again, you are forced to type something just to delete it in order to restore all entries.
This is a weird design choice - if intended - to me, the dropdown search should retain the search input and results across collapsing and reopening the list but not wiping the input but retaining the output, especially if it's empty.
See the Kapture attached for my reproduction steps.
This behavior is caused by the implementation of https://github.com/jenkinsci/jenkins/pull/4688
Originally reported by notmyfault, imported from: Filter box for dropdown lists wipes search input after collapsing and reopening