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

[EnhancedSwitch] Fix controlled input warning in React 15 #3940

Closed
nathanmarks opened this issue Apr 11, 2016 · 0 comments
Closed

[EnhancedSwitch] Fix controlled input warning in React 15 #3940

nathanmarks opened this issue Apr 11, 2016 · 0 comments
Assignees
Labels
bug 🐛 Something doesn't work

Comments

@nathanmarks
Copy link
Member

Fixing this tonight -- just adding the issue as a reference.

warning.js:44 Warning: Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components

Problem Description

Versions

  • Material-UI: HEAD
  • React: 15
  • Browser:
@nathanmarks nathanmarks self-assigned this Apr 11, 2016
@nathanmarks nathanmarks added this to the 0.15.0-beta.1 Release milestone Apr 11, 2016
nathanmarks added a commit to nathanmarks/material-ui that referenced this issue Apr 11, 2016
…iring react warnings in v15 RE controlled inputs, fixes mui#3940
nathanmarks added a commit to nathanmarks/material-ui that referenced this issue Apr 12, 2016
…iring react warnings in v15 RE controlled inputs, fixes mui#3940
@nathanmarks nathanmarks added the bug 🐛 Something doesn't work label Apr 12, 2016
und3fined pushed a commit to und3fined/material-ui that referenced this issue Apr 20, 2016
…iring react warnings in v15 RE controlled inputs, fixes mui#3940
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

No branches or pull requests

1 participant