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: ReferenceError: currentYear is not defined #4635

Closed
chz opened this issue Oct 17, 2023 · 1 comment
Closed

Calendar: ReferenceError: currentYear is not defined #4635

chz opened this issue Oct 17, 2023 · 1 comment

Comments

@chz
Copy link
Contributor

chz commented Oct 17, 2023

Describe the bug

  1. Open https://primevue.org/calendar
  2. Click Calendar input select date.
  3. After again click selected date calendar then change month it will be throw error ReferenceError: currentYear is not defined

Screenshot 2023-10-17 at 22 50 22

Reproducer

https://primevue.org/calendar

PrimeVue version

3.36.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

  1. Open https://primevue.org/calendar
  2. Click Calendar input select date.
  3. After again click selected date calendar then change month it will be throw error ReferenceError: currentYear is not defined

Expected behavior

Must be shown month select

@chz chz 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 17, 2023
@chz
Copy link
Contributor Author

chz commented Oct 17, 2023

@tugcekucukoglu, @mertsincan Please review this fix. Probably missed "this" keyword

@chz chz closed this as completed Oct 17, 2023
@tugcekucukoglu tugcekucukoglu removed 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants