question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Checkbox] React does not recognize the `isChecked` prop on a DOM element

See original GitHub issue

After 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:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
ljosberinncommented, Aug 24, 2020

No, it will be in the next release.

4reactions
with-heartcommented, Aug 10, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found