Skip to content
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

[DatePicker] textFieldStyle prop doesn't work #3753

Closed
ellemedit opened this issue Mar 21, 2016 · 4 comments
Closed

[DatePicker] textFieldStyle prop doesn't work #3753

ellemedit opened this issue Mar 21, 2016 · 4 comments
Labels
docs Improvements or additions to the documentation

Comments

@ellemedit
Copy link

2016-03-21 5 37 33

<DatePicker
  hintText="From"
  textFieldStyle={{
     color: '#ffffff',
  }}
/>

In right side, DatePicker is filled with date.
I provide white color inline-css to DatePicker through textFieldStyle prop but TextField in datepicker never changed.

Versions

  • Material-UI: 0.15 alpha 2
  • React: 0.14.7
  • Browser: Chrome latest
@mbrookes
Copy link
Member

You've been struck by the curse of the undocumented child component property!

Try: inputStyle={{color: 'white'}}

Related to #3172.

@mbrookes mbrookes added the docs Improvements or additions to the documentation label Mar 21, 2016
@ellemedit
Copy link
Author

@mbrookes Perfect!

@artdias90
Copy link

Same applied for the AutoComplete.. hopefully documentation gets updated

@ftcvlad
Copy link

ftcvlad commented Apr 30, 2018

still not updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

No branches or pull requests

4 participants