Comments (18)
Do you have an online demo?
On Tue, Feb 7, 2012 at 14:08, lashisu
[email protected]
wrote:
Hi,
mustMatch is not working when minChars is set to 3. It is starting to work on a single character. when we press 3-4 character quickly it stop working.
I have set it as below:-
mustMatch:true,
minChars: 3,Regards,
Sushil
Reply to this email directly or view it on GitHub:
#10
from jquery-autocomplete.
Yes, I have and url is
from jquery-autocomplete.
Thanks, it seems like there is indeed a bug there when minChars and
mustMatch are combined. I'll look into it.
On Wed, Feb 8, 2012 at 10:18, lashisu
[email protected]
wrote:
Yes, I have and url is
Reply to this email directly or view it on GitHub:
#10 (comment)
from jquery-autocomplete.
Yes, It is fixed. But new issue has came out. When you set mustMatch and minChars, the selected value of textbox became empty on focusout.
from jquery-autocomplete.
Oops, you are right.
from jquery-autocomplete.
Fixed just now, please test in your own environment and report back when it's not working.
from jquery-autocomplete.
Now, Must matching is not working. Kindly update same in live demo and share demo url.
from jquery-autocomplete.
I'll write tests or demo's for this tomorrow. Sorry about the mess-up,
I think I changed something to optimize that had more effects than
planned.
Op 12 feb. 2012 om 10:15 heeft lashisu
[email protected]
het volgende geschreven:
Now, Must matching is not working. Kindly update same in live demo and share demo url.
Reply to this email directly or view it on GitHub:
#10 (comment)
from jquery-autocomplete.
I have reopened this because I want to make sure it is fixed. However, if I try the current version I see a working mustMatch. Perhaps I am using different parameters, please specify yours and explain what is wrong.
from jquery-autocomplete.
I have uploaded new version with same html & js code. Only plugins updated. Check it on this url. mustMatch is not working.
URL is
http://www.dwwsclient.com/demo/
from jquery-autocomplete.
I think I understand.
mustMatch WITHOUT selectFirst is workign fine.
When selectFirst AND mustMatch are set, and you type a text that cannot be found, but has given matches before, selectFirst selects the text that was matched earlier. tricky one.
In your demo, please see that typing newqqq in the first box gives the unwanted behavior. Typing xzzqqq, mustMatch works fine.
If you agree this is the problem, I will start working on a fix.
from jquery-autocomplete.
Yes, It is a problem. But in earlier version I have seen that while typing unmatched character input box became empty in mustMatch case. But in current version it is not behaving same. It should be empty on unmatched character.
from jquery-autocomplete.
OK, I'll start working on fix.
On Mon, Feb 13, 2012 at 07:05, lashisu
[email protected]
wrote:
Yes, It is a problem. But in earlier version I have seen that while typing unmatched character input box became empty in mustMatch case. But in current version it is not behaving same. It should be empty on unmatched character.
Reply to this email directly or view it on GitHub:
#10 (comment)
from jquery-autocomplete.
Due to optimization the results were kept even when mustMatch / minChars conditions were not met. Upon exiting, selectFirst took the first result, regardless of the current input value. This update should fix that. Thank you for testing, you are a great help.
from jquery-autocomplete.
It is not fixed yet. It has still some issues.
- In every case it returns values. If noMatch found it return a blank
- In notMatch found case textbox value should be empty as it was in earlier version. (example is on http://www.paryatak.com).
from jquery-autocomplete.
I agree with 1 (no empty ul)
I have to investigate 2 in relation with minChars
Sent from my iPhone
Op 14 feb. 2012 om 06:30 heeft lashisu
[email protected]
het volgende geschreven:
It is not fixed yet. It has still some issues.
- In every case it returns values. If noMatch found it return a blank
. In notMatch case autocomplete should hide.
- In notMatch found case textbox value should be empty as it was in earlier version. (example is on http://www.paryatak.com).
Reply to this email directly or view it on GitHub:
#10 (comment)
from jquery-autocomplete.
I fixed 1.
I don't know about 2. You are right that it used to work like that but I got several complaints form people that their typed string disappeared after a typo.
from jquery-autocomplete.
I'm keeping #2 as it is for now, and closing this issue. If mustMatch is set, any invalid input will be cleared once the field has been left alone.
from jquery-autocomplete.
Related Issues (20)
- FilterResults works better than filter. Filter inserts a superfluous <li>
- onNoMatch called way too late
- Add an option "destroy"
- Suggestions don't appear HOT 1
- Vertical position fix
- autocomplete dynamic with data pass HOT 2
- Does not permite functions as extraParams HOT 1
- Narrowing down search suggestions HOT 1
- Improved Autocomplete
- IE11 Scroll is not moving when we click on down arrow of the scroll bar in scrollable results section
- input created with weird values
- Ignore accents when typing
- cannot Consider for last part of the string to autocomplete HOT 1
- headers already sent error HOT 1
- Please, add to doc HOT 1
- firefox minChar no work
- if i have a select to chang input autocomplete url,what should I do?
- Add autocomplete argument to beforeUseConverter
- Empty server response may be interpreted as one "empty" result
- Multiple result divs.
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.