pawelczak / EasyAutocomplete

JQuery autocomplete plugin
http://easyautocomplete.com
MIT License
729 stars 244 forks source link

Editing suggestion causes blank submission #422

Open DrMikeyS opened 4 years ago

DrMikeyS commented 4 years ago

Hey,

I've found a bug whereby if a user types in a term, presses the down arrow to select a suggestion, but then goes on to add free-text to the search box (in addition to the suggestion) then presses return to search, no search term is submitted.

This can be demonstrated on by testing site: https://gp-search-262907.appspot.com/

Try typing "head" then selecting "Headache" from the dropdown and adding some text after it then pressing return to search.

Thanks