I'm using a ejAutocomplete and i need to call a function to perform a search when the user press ENTER (staying on the field). I found in the documentation that this control doesn't have an event for that, Am I right?
I can use something like this:
but the problem is that the user can press ENTER when is selecting an option from the list producing an undesirable effect.
Is there a solution to this problem? maybe some way to check if the user is or not selecting an item from the list in the keypress or something like that?