Skip to content

Conversation

@oliviertassinari
Copy link
Member

No description provided.

@oliviertassinari oliviertassinari added scope: text field Changes related to the text field. type: new feature Expand the scope of the product to solve a new problem. labels Jul 1, 2018
@oliviertassinari oliviertassinari self-assigned this Jul 1, 2018
@oliviertassinari oliviertassinari changed the title [Input] No focus state when read only [Input] Add read only demo Jul 1, 2018
@oliviertassinari oliviertassinari merged commit 1a83577 into mui:master Jul 1, 2018
@oliviertassinari oliviertassinari deleted the input-read-only branch July 1, 2018 22:03
defaultValue="Hello World"
className={classes.textField}
margin="normal"
InputProps={{
Copy link

Choose a reason for hiding this comment

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

Error: capital-case, use small case for InputProps - > inputProps

Copy link
Member Author

Choose a reason for hiding this comment

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

@jmav Both works. It was made on purpose.

Copy link

Choose a reason for hiding this comment

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

Maybe link why to be more aware, thx

Copy link
Member

Choose a reason for hiding this comment

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

Input is the react component, input is the Native element. You can provide props / attributes to both of them. The distinction os covered in the API docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: text field Changes related to the text field. type: new feature Expand the scope of the product to solve a new problem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants