Comments (7)
Latest version is actually 1.2. You can press escape to kill suggestions. Would it make sense to add configuration option if you don't need first item to be selected by default?
from jquery-autocomplete.
Sorry, I meant version 1.2. In older versions, autocomplete didn't behave like this. Sometimes people don't even look in the list. If someone wants to search for all shops that offer watches, they cannot enter "watches" and press enter, when the first item is "watches eshop", the second maybe "watches store" and so on. they always get to "watches eshop". Maybe I explained it too detailed, I think you already understood what I meant before...so an option for this would be great ;)
from jquery-autocomplete.
I would also really like to see a configuration option to prevent the first item from being selected by default. The current behaviour makes it pretty difficult to not select an item from the suggested list.
from jquery-autocomplete.
Will add it soon. The fact that it selects item when you click outside the box and it selects the entry is filed as a bug.
from jquery-autocomplete.
This has been fixed in the following commit: 56437a2
Also default value is false, so it will not select first item by default.
from jquery-autocomplete.
Will you be doing a release soon that includes this fix, or should I just replace my version of jquery.autocomplete.js with the current version in the master branch. Thanks for resolving this so quickly.
from jquery-autocomplete.
Just release v1.2.2. Grab it here: https://github.com/devbridge/jQuery-Autocomplete/tree/master/dist
from jquery-autocomplete.
Related Issues (20)
- transformResult for showing HTML HOT 1
- No item selected
- [BUG][iOS] Incorrect suggestions position on IOS with minChars:0 option and fixed search input
- I want to remove Spaces at the beginning and end of the input values HOT 2
- onSelect issue HOT 1
- onHint tab doesn't work with custom lookup function HOT 2
- Custom lookup function cannot produce string[] of suggestions HOT 4
- Prevent executing search onFocus HOT 1
- Searching in Cyrillic HOT 7
- Does this jQuery-Autocomplete plugin works with textarea? HOT 1
- No item selected on ExactMatch HOT 4
- Suggestions are automatically displayed in Safari if there is content in the field and 'autofocus' is set
- Cannot import properly in a vite environment HOT 3
- all "suggestion.value" should be replaced with "suggestion.value.toString()" for string function like substr not defined if response value is not a string type
- fire onSelect, if only one result is returned HOT 1
- cache previous request HOT 2
- modify query before performing ajax lookup HOT 2
- Autocomplete in modal HOT 1
- onSearchComplete triggers after onSelect when only one match exists
- JQMIGRATE: jQuery.isFunction() is deprecated use typeof func === "function" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-autocomplete.