Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar: the calendar disables the year if minDate is set to the current month #13919

Closed
alexandergu opened this issue Oct 18, 2023 · 2 comments · Fixed by #13920
Closed

Calendar: the calendar disables the year if minDate is set to the current month #13919

alexandergu opened this issue Oct 18, 2023 · 2 comments · Fixed by #13920
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@alexandergu
Copy link
Contributor

Describe the bug

If minDate is set to a date later than the current one, the Calendar disables the entire year for selection.

Environment

Local Setup, Mac OS
Angular CLI: 16.2.0

Reproducer

No response

Angular version

16.2.0

PrimeNG version

16.5.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

16.20.0

Browser(s)

All

Steps to reproduce the behavior

  1. Set minDate to a date greater than the current one.
  2. Select the calendar
  3. Switch to year
  4. Try to select the year that is set in minDate

Expected behavior

The year is available for selection even if minDate is far in the future compared to the current date

@alexandergu alexandergu added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 18, 2023
@cnaess-te
Copy link

@tomascap-fly
Copy link

Hi,

can I kindly ask whether there's any estimate for when the above PR could be merged? We need this fix rather urgently.

Thanks!

Tomas

@cetincakiroglu cetincakiroglu added this to the 17.12.0 milestone Mar 20, 2024
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants