Skip to content

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

@Lu-Wee

Description

@Lu-Wee

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions