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 on select tag #27
Comments
👍 |
I love this idea. |
I tried to realize a plugin to implement this functionality. I needed to modify the evaluate function of Awesomplete so that you can pass a string (ignoring minChars) and force to open the full list. I don't know if there is another way of doing this. Applying it in awsomplete homepage seems good: Suggestions for improvement? :) |
👍 , what about the optgroup tag support? |
optgroup support would be nice! But I think that would need more deep modification on awesomplete base code... I'll think about it! Should I put the code in a separate file (like a plugin) or it's better to put it as an example js code (like in issue #1202)? |
Interesting. Is there a demo somewhere? |
I setup another advanced examples section with select box autocomplete in http://danyup.github.io/awesomplete/#advanced-examples I didn't think about passing html attributes such as "data-minchars" and "data-maxitems" from select box to awesomplete input box... I should work on it... |
Oops! The button doesn't get displayed well in Firefox... My bad... |
Ok, I fixed few things:
The working demo is still at http://danyup.github.io/awesomplete/#advanced-examples |
This is very cool, but an example should also show code for achieving that example (including CSS) :-) |
Thanks for your feedback, Lea! |
Ouch, yes, this is A LOT of code for this. Also it doesn’t seem to quite work, i.e. clicking the arrow again doesn’t close the popup. |
Any progress here? Awesomplete is way faster than a bunch of the other options I've tried for searching select boxes with lots of options, also the highlighting is great :| would love to continue using. |
It would be nice to have the same idea applied to select tags.
Items could be read from the option tags inside the select, then you could use the "autocomplete select box" in two ways: you can get autocomplete while typing and display the full list clicking on a button.
The text was updated successfully, but these errors were encountered: