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

Listing 7.1 Failed propType warning #12

Open
AdelMahjoub opened this issue Sep 25, 2017 · 0 comments
Open

Listing 7.1 Failed propType warning #12

AdelMahjoub opened this issue Sep 25, 2017 · 0 comments

Comments

@AdelMahjoub
Copy link

AdelMahjoub commented Sep 25, 2017

Failed form propType: You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`

replace checked by defaultChecked will no longer show this warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant