-
Notifications
You must be signed in to change notification settings - Fork 53
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
possible feature: autocomplete input field #209
Comments
Do you think the search field from the Materialize website would fit your description? I just recently saw that it has autocomplete. I mean really, I've looked at the site at least a thousand times since I began this project but only recently I typed something into that text box. 😄 We could probably use that as a base. |
Autocomplete is now implemented in the current materialize release 0.97.7. http://materializecss.com/forms.html#autocomplete I'll add it to the bridge as soon as I can. |
Personally, I find their implementaton is lacking. For example:
But well, here we go. 😄 |
Yeah, I would like the key up/down, but aside from that this looks like what I was looking for. Thanks. |
Personnally I don't understand their autocomplete control. You have to have the whole data before you do anything, which in most cases is useless, except if you're entering a state. |
I did add a refresh method with that in mind (also triggered when values change). Refresh is what you get when you click "set other values" in the example. You could technically load data from the server and (convert data and) assign autocomplete values at that time. I'd like to stay as close as possible to Materialize implementations (in general) because who knows what future features they will implement. These will have to be integrated here and there are already a bunch of improvement proposals in their repo (because, honestly, there is a lot of room for autocomplete improvements). Having said that, I'm all for improving usage simplicity and your Edit: I need to update that. 😃 |
Oh you're right, I didn't realize refresh() deleted the |
Altough I realize there may be a bug now, if you try to attach it to a regular input. |
Maybe I've overlooked something but here is what I thought: |
Not if applied on an actual |
Oh, of course! 😄 |
So I've seen issue #87 but I think the typeahead autocomplete there is overkill. I'm really looking for an easier way for users to type into a text box and search through a known set of values (using fuzzy search of course).
Basically what you can find here in the react material ui library:
http://www.material-ui.com/#/components/auto-complete
The text was updated successfully, but these errors were encountered: