meteor-autocomplete icon indicating copy to clipboard operation
meteor-autocomplete copied to clipboard

detect autocomplete keyup event

Open leizard opened this issue 10 years ago • 0 comments

I have a textbox which I use 'enter' keyup event to submit the value. The problem is the autocomplete also use the 'enter' keyup event to select the suggestion. So when I select one suggestion from the list, the textbox catch the event and submit the value right away (which I dont want because I want to type more) . How can I detect only the 'enter' event of the autocomplete and prevent the textbox to catch it. Thank you.

leizard avatar Aug 14 '15 07:08 leizard