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: Inconsistent @select-month values #2859

Closed
zkhan93 opened this issue Aug 16, 2022 · 1 comment
Closed

Calendar: Inconsistent @select-month values #2859

zkhan93 opened this issue Aug 16, 2022 · 1 comment
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2
Milestone

Comments

@zkhan93
Copy link

zkhan93 commented Aug 16, 2022

Describe the bug

Event @month-change should return the same month range when changing with arrow keys or the drop down menu.
Currently it returns different values for the same month depending on the method.
Forward and Backwards arrows: 0-11
Drop down picker: 1-12

Reproducer

https://codesandbox.io/s/wonderful-hawking-zom2sn

PrimeVue version

2.9.2

Vue version

2.x

Language

ALL

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

Click month forward and backward arrow, month will change from 0-11
Click on month to select month in drop down, month will change from 1-12

Expected behavior

Both methods should return the same number range

@zkhan93 zkhan93 added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 16, 2022
@tugcekucukoglu tugcekucukoglu added vue2 Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Type: Bug Issue contains a bug related to a specific component. Something about the component is not working labels Aug 17, 2022
@zkhan93
Copy link
Author

zkhan93 commented Aug 18, 2022

@tugcekucukoglu can we please include this in next 2.x release ?

@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Aug 22, 2022
@mertsincan mertsincan self-assigned this Aug 22, 2022
@mertsincan mertsincan added this to the 2.10.0 milestone Aug 22, 2022
@mertsincan mertsincan modified the milestones: 2.10.0, 3.16.2 Aug 22, 2022
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 vue2
Projects
None yet
Development

No branches or pull requests

3 participants