[Checkbox] React does not recognize the `isChecked` prop on a DOM element
See original GitHub issueAfter upgrade to 1.0.0-rc.2 got this error messages:
React does not recognize the `isChecked` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `ischecked` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
...
React does not recognize the `isIndeterminate` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isindeterminate` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
React does not recognize the X prop on a DOM element ...
This warning appears because you passed a prop on a component that it is not valid. For example ...
Read more >React does not recognize the isChecked and isIndeterminate ...
When I use a custom icon instead of the default checked icon for Checkbox, I received two warnings: Warning: React does not recognize...
Read more >Unknown Prop Warning - React
The unknown-prop warning will fire if you attempt to render a DOM element with a prop that is not recognized by React as...
Read more >Warning: React does not recognize the `isOpen` prop on a DOM
I think it's pointing to the "isOpen" prop passed to the Dropdown component. Following the suggestion and changing it to "isopen", I get...
Read more >Checkbox API - Material UI - MUI
API reference docs for the React Checkbox component. Learn about the props, CSS, and other APIs of this exported module.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No, it will be in the next release.
Looks like it happened here: https://github.com/chakra-ui/chakra-ui/commit/3828ea633f8ce72c7f3b7cbbf4579b123b165e9a#diff-83ce84c6340973dc82434d31745acdcd
Icon
should receive...rest
, not all of the props. Will fix.