-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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] No way to set the underlying TextField Style #4556
Comments
It would be helpful to also be able to style all the same components as in the TextField (e.g. the underline, hintText, etc.) |
Yeah if we can set the global style in maybe the getMuiTheme function that would be ideal. It would be nice to set the styling for common components such as TextField at the global level and then customize it accordingly when needed. I guess the solution to that could always be our own wrapper over TextField but that seems a bit cumbersome. |
This seems fixed, perhaps OK to close? 4bea5dd#diff-f5a0978e337757ac80c1a1dd2072e1e8 |
Indeed. It seems to be fixed in v0.16. |
As far as I can see there is still no way to override all
|
I've created #6231 to fix that... |
Problem description
There is currently to way to set the
style
of the underlyingTextField
in theAutoComplete
component. So no setting the font size and so on.Suggestions:
textFieldStyle
to theAutoComplete
props and pass that as theTextField
style
propstyle
prop directly to theTextField
- This makes it trivial to convert aTextField
to anAutoComplete
, but I'm not sure about the side-effects, it's probably not such a good idea...Versions
The text was updated successfully, but these errors were encountered: