Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Pressing enter with no selection resets field #19

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

Pressing enter with no selection resets field #19

lbriquet opened this issue Feb 16, 2012 · 1 comment

Comments

@lbriquet
Copy link

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
Copy link

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants