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
Error with showMonthAndYearPickers={true} in Calendar Component
Description:
Problem:
When using the showMonthAndYearPickers={true} prop with the Calendar component, the following error occurs:
Error: Received an empty string for a boolean attribute `inert`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.
Run the application in your development environment.
Open the browser's developer console.
Observe the error in the console:
Error: Received an empty string for a boolean attribute `inert`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.
Expected behavior
Expected Behavior:
The Calendar component should render without any errors in the console when the showMonthAndYearPickers prop is set to true.
Specifically:
The showMonthAndYearPickers prop should enable the functionality to display month and year pickers as expected.
No warnings or errors should be logged in the developer console regarding the inert attribute or any other DOM-related issues.
Screenshots or Videos
No response
Operating System Version
windows
Browser
Chrome
The text was updated successfully, but these errors were encountered:
HeroUI Version
2.6.13
Describe the bug
Title:
Error with
showMonthAndYearPickers={true}
in Calendar ComponentDescription:
Problem:
When using the
showMonthAndYearPickers={true}
prop with theCalendar
component, the following error occurs:Reproduction:
Use the following minimal example:
Example:
A live reproduction of the issue can be found in this CodeSandbox:
[https://codesandbox.io/p/devbox/test-next-ui-forked-4qwss9?file=%2Fapp%2Fpage.tsx](https://codesandbox.io/p/devbox/test-next-ui-forked-4qwss9?file=%2Fapp%2Fpage.tsx%3A6%2C11)
Expected Behavior:
The
Calendar
component should render correctly without any errors whenshowMonthAndYearPickers
is set totrue
.Environment:
Notes:
This issue prevents proper usage of the
showMonthAndYearPickers
feature. Please provide guidance or a fix.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Steps to Reproduce:
Calendar
component into your project.Expected behavior
Expected Behavior:
The
Calendar
component should render without any errors in the console when theshowMonthAndYearPickers
prop is set totrue
.Specifically:
showMonthAndYearPickers
prop should enable the functionality to display month and year pickers as expected.inert
attribute or any other DOM-related issues.Screenshots or Videos
No response
Operating System Version
windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: