Calendar: wrong logic of disabling the month #12330
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If we enter min date greater then the first day of month, we won't be able to choose that month in the "month view" of calendar.
Example: minDate = 02.12.2022, December is not able to select
Environment
Reproducer
https://stackblitz.com/edit/primeng-calendar-demo-s6vvzw?file=src/app/app.component.ts
Angular version
14.0.0
PrimeNG version
14.2.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.17.0
Browser(s)
Google Chrome 107.0
Steps to reproduce the behavior
No response
Expected behavior
Even if one day is selectable, so month is selectable also
The text was updated successfully, but these errors were encountered: