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
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Aug 21, 2023
melloware
changed the title
Calendar: closedDays do affect year to be also disabled
Calendar: disabledDays do affect year to be also disabled
Aug 21, 2023
Describe the bug
When providing closedDays for calendar, some years are also disabled in calendar.
Check codesandbox https://codesandbox.io/s/primereact-demo-forked-h484y7?file=/src/App.js
closedDays = [0,6] results that e.g. 2036 is disabled?
Reproducer
https://codesandbox.io/s/primereact-demo-forked-h484y7?file=/src/App.js
PrimeReact version
9.6.0
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
closedDays do not affect year selection in Calendar.
The text was updated successfully, but these errors were encountered: