Fix dropdown items not being reset after filtering and selecting when `closeOnSelect` is `false`

This fixes a bug wherein, when using the standard filtering function and with `closeOnSelect: false`, if the user typed a few characters and hit Enter, the filter would still be applied to the dropdown after selecting the item, even though the text input was blank.