oferh / ng2-completer

Angular 2 autocomplete component
http://oferh.github.io/ng2-completer/
MIT License
347 stars 172 forks source link

Bug : Item stays selected after highlight even if search term changed #385

Open nthenoz opened 6 years ago

nthenoz commented 6 years ago

When you start typing and the autocomplete list appears, if you highlight an item and then change the search text, you will still get a selected event with the highlighted item and the search term will be changed to the item value.

Ex : start typing "tomato", highlight "tomato" in the dropdown, add an "s" to your text (so now you are searching for "tomatos", press tab, get the selected event with tomato.

You should not get the selected event