Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Pressing enter with no selection resets field #19

Open
lbriquet opened this Issue Feb 16, 2012 · 1 comment

Comments

Projects
None yet
2 participants

The jQuery Smart AutoComplete is powerful and very useful!

I was wondering if it is possible to configure the Smart AutoComplete so that if someone presses enter without selecting an item in the suggestion list so that the list remains visible and the field is not emptied? What I would like to do is force the user to choose one of the items in the list of suggestions.

Many people have the habit of typing in the search field and hitting the enter key, instead of pressing a button... and they may be frustrated to see that their search is not performed and the criteria they used has disappeared.

I've tried setting forceSelect option to false, but it had no impact.

Thank you in advance for your help!
lbriquet

jknopp commented Oct 21, 2014

Any luck on solving this? Attempting to fix this exact issue with no luck so far..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment