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

bug: date changes on year-change (even if year is out of range) #72

Open
Lu-Wee opened this issue Jul 5, 2023 · 0 comments
Open

bug: date changes on year-change (even if year is out of range) #72

Lu-Wee opened this issue Jul 5, 2023 · 0 comments

Comments

@Lu-Wee
Copy link

Lu-Wee commented Jul 5, 2023

When using the buttons to change the year, the year of the selection changes. (debatable, see P.S.)
This happens even if we are switching into a year that is outside [minDate, maxDate]

Here is the example in my application
disabled-year-selected

And here is a similar reproduction in the demo of this repo
disabled-year-selected--demo

P.S.
As stated by @wshgziva in a comment to another issue , perhaps we don't want to change the chosen date as soon as the year changes (displayYear != chosenYear)

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

No branches or pull requests

1 participant