-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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] TextField input type #5212
Comments
Have you tried ? Just suggesting because i saw in the AutoComplete source that it passes undocumented props {...other} to the underlying TextField. |
Just tried that, and it seems to work fine! Thank you, I somehow missed that... Maybe it would be nice to document this behaviour, or is that documented for all the Components in general somewhere else in the docs? |
+1 to add this info to the AutoComplete documentation. |
Sent a PR #5243 with this change to the documentation. |
Closed by #4783 |
I am using the AutoComplete-Component to select a price. The price can either be entered manually, or you can select from a number of precomputed values (hence the AutoComplete and not a TextField). Now it would be really useful to restrict the possible input by setting a type for the TextField the AutoComplete uses. But the AutoComplete component does not expose this property of the underlying TextField. It would be really nice to expose this as well. (This should not be too difficult, and I could probably even create a pull request for that, if this feature makes sense)
Or is there another way to achieve this?
The text was updated successfully, but these errors were encountered: