jQuery-Smart-Auto-Complete
jQuery-Smart-Auto-Complete copied to clipboard
Possibility to submit with Enter without selecting
For the use case of search suggestions it would be nice to have an option to submit a search with the enter key even if none of the completion suggestions were selected. Right now that doesn't seem to be possible because keyCode 13 is always caught and resets the textfield.
Or am I missing something?
TIA, bkw
keyCode 13's default action is prevented only when there are suggestions. Will look into a way of giving an option to disable that behaviour.
Lakshan
On Mon, Apr 4, 2011 at 3:00 AM, bkw < [email protected]>wrote:
For the use case of search suggestions it would be nice to have an option to submit a search with the enter key even if none of the completion suggestions were selected. Right now that doesn't seem to be possible because keyCode 13 is always caught and resets the textfield.
Or am I missing something?
TIA, bkw
Reply to this email directly or view it on GitHub: https://github.com/laktek/jQuery-Smart-Auto-Complete/issues/5
excellent, thanks!