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

[Toggle] Warning about using key as prop, React v15 #3914

Closed
ffxsam opened this issue Apr 9, 2016 · 1 comment
Closed

[Toggle] Warning about using key as prop, React v15 #3914

ffxsam opened this issue Apr 9, 2016 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ffxsam
Copy link
Contributor

ffxsam commented Apr 9, 2016

  • Material-UI: 0.15.0-alpha.2
  • React: 15.0.1
  • Browser: Chrome 49

I'm seeing this warning:

Warning: ToggleCheckBoxOutlineBlank: key is not a prop. Trying to access it will result in undefined being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)

@ffxsam ffxsam changed the title [Toggle] Incompatible with React v15 [Toggle] Warning about using key as prop, React v15 Apr 9, 2016
@mbrookes mbrookes added the duplicate This issue or pull request already exists label Apr 9, 2016
@mbrookes
Copy link
Member

mbrookes commented Apr 9, 2016

Ref #3642

@mbrookes mbrookes closed this as completed Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants