You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using DateRangePicker with label results in React warning: Warning: React does not recognize the isDisabled prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase isdisabled instead. If you accidentally passed it from a parent component, remove it from the DOM element.
Click button to show DateRangePicker to see warning in the console
NB! The warning does not appear when label is not in use
I think that maybe isDisabled sneaks somehow in some ...restProps or some other piece of code returning such props as there is not direct usage of it in the example to be passed down to the component.
The text was updated successfully, but these errors were encountered:
aleksygoroszko
changed the title
React gives warning when rendering DateRangePicker
React throws warning when rendering DateRangePicker
Feb 21, 2024
We want to remove the date-range picker and move the functionality to a standalone calendar component. We also want to add date-picker to the attached input component so we can still use it with this functionality in mind. Will create a new issue detailed what needs to be done.
What's wrong?
Using DateRangePicker with label results in React warning:
Warning: React does not recognize the isDisabled prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase isdisabled instead. If you accidentally passed it from a parent component, remove it from the DOM element.
How to reproduce?
Open Sandbox
yarn install
yarn dev
Steps to reproduce the behavior:
NB! The warning does not appear when label is not in use
I think that maybe isDisabled sneaks somehow in some ...restProps or some other piece of code returning such props as there is not direct usage of it in the example to be passed down to the component.
The text was updated successfully, but these errors were encountered: