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.
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