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

[Input] Add read only demo #12024

Merged
merged 1 commit into from
Jul 1, 2018

Conversation

oliviertassinari
Copy link
Member

No description provided.

@oliviertassinari oliviertassinari added component: text field This is the name of the generic UI component, not the React module! new feature New feature or request 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
component: text field This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants