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

[TextField] Added placeholder prop for better ie10 compatibility #1629

Closed
wants to merge 1 commit into from

Conversation

arcmode
Copy link
Contributor

@arcmode arcmode commented Sep 11, 2015

When experiencing issues with the ability to focus on the input element, use placeholder prop instead of hintText. The placeholder is not animated as the hintText is, but it works on ie10.

closes #1191

@@ -242,6 +243,7 @@ let TextField = React.createClass({
floatingLabelText,
fullWidth,
hintText,
placeholder,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that It would work if you remove this line. ...otherwill do the job. But, it's more explicit like this.

@arcmode
Copy link
Contributor Author

arcmode commented Oct 16, 2015

Oh, I did not try using ...other. Thanks!, closing PR.

@arcmode arcmode closed this Oct 16, 2015
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Nov 10, 2020
* Update createSvgIcon import following @material-ui v4.9.9 update

* Fix rollup cnfig & typings

* update version on npm

Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
@zannager zannager added the component: text field This is the name of the generic UI component, not the React module! label Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IE10 TextFields with hintText
3 participants