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
Issue with year picker.
When you have min date and max date on the p-calendar within a year. It is not allowing to select 2023 and 2024. It is only allowing 2024. Year 2023 is disabled. Once we pick a date in 2024 and then try to change back to a date in 2023, Only way to do this is by clicking on month navigator as year 2023 is disabled on year selection.
We should be able to select year 2023 and 2024. But only 2024 is selectable. If you select any date in 2024, and then click on year, We should be able to see both 2023 and 2024 as selectable.
The text was updated successfully, but these errors were encountered:
Thanks a lot for reporting the issue. This issue is duplicate of #13919
Related issue is fixed and the fix will be available with upcoming release (17.12.0).
cetincakiroglu
added
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Mar 20, 2024
Describe the bug
Issue with year picker.
When you have min date and max date on the p-calendar within a year. It is not allowing to select 2023 and 2024. It is only allowing 2024. Year 2023 is disabled. Once we pick a date in 2024 and then try to change back to a date in 2023, Only way to do this is by clicking on month navigator as year 2023 is disabled on year selection.
Environment
angular 16.2.11, with primeng 16.6.0
Reproducer
https://stackblitz.com/edit/github-mz6vwk?file=src%2Fapp%2Fapp.component.html
Angular version
16.2.11
PrimeNG version
16.6.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v20.2.0
Browser(s)
Version 120.0.6099.71
Steps to reproduce the behavior
set min date as today
max date as today + 1 year
on p-calendar set minDate and maxDate.
Expected behavior
We should be able to select year 2023 and 2024. But only 2024 is selectable. If you select any date in 2024, and then click on year, We should be able to see both 2023 and 2024 as selectable.
The text was updated successfully, but these errors were encountered: