Here is the scenario. We have 5 elements in the dropdown. (White Dog, Brown Dog, Brown Cat, White Elephant, Orange Cat). The “closeOnSelect” is set to false.
Now I enter “Brown” and get this
I use arrow key to highlight Brown Dog and hit enter to select the brown dog. Brown Dog is added to my selected pillbox/selections and the dropdown stays open. We have managed to clear the search text, but all the dropdown shows is
I want the dropdown to go back to showing all elements (White Dog, Brown Dog, Brown Cat, White Elephant, Orange Cat) so user can start typing a new search query. How would we do this?