-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocomplete and empty value #254
Comments
I also noticed that. Empty value would be nice. |
Ah, nice tip. Thank you :) |
Is it really broken since last update? I think it is still working in the "lazy" mode but indeed does not work in the "strict" mode (http://handsontable.com/demo/autocomplete.html) Another tip is to use Delete key on the cell instead of editing it. Works in lazy and strict mode. Would you need it in the strict mode? I am looking for some consistent way to define it... |
You are right, I'm using strict mode. Since I found workaround with Delete key I got what I need. |
It used to work, but did not work after trying to update. I have been messing around a little so I am not entirely sure it was broken between the previous and this update though... Anyways, I use strict mode, but I could just code my way around it and use lazy mode instead :) No worries, I see that having an empty value as a "autocomplete" function is odd ;) |
I created a fiddle to help test the problem: http://jsfiddle.net/NuSLc/ Current status is same as commented by dawidr: it works when you press Delete on a strict field that allows empty value. But the empty value does not show on the list. A fix is on its way :) |
Thank you! I feel that this might a bit far fetched example and sort of weird in its nature. It also is no problem to code around it for me, so no particular need to prioritize the fix on my part. Have a nice weekend! |
This issue should now be fixed in Handsontable 0.8.16. Bootstrap Typeahead does not allow empty strings as a value, but we managed to workaround it. Can you please upgrade and test if it works for you? |
Hi, folks, please take a part in discuss of my question #526, because it is crossed with this problem too |
Actually, after my change 7389c8e it is possible to use empty string as a value but then text "[empty string]" is visible in options list... Not good :) |
The above issue ("[empty string]" label in dropdown) is now fixed in 0.8.17 |
Hi,
One of the values I need for the "autocomplete" is an empty value (don't ask...). This worked in previous versions but seem to break the function in the latest master. Is this intentionally and I have to code my way around or is this a bug of some sorts?
The text was updated successfully, but these errors were encountered: