Calling selectDate(new Date(year, month, day)) does not update the calendar if only the year changes. Changing day or month works.
With this workaround its works, because its changes day + month:
datepickerInstance.selectDate(new Date(1970, 1, 1));
datepickerInstance.selectDate(new Date(year, month, day));
This is not working: starting with 2025-09-30, calling selectDate(2024-09-30) only updates the year in the internal state, but the calendar view does not reflect the change.
Calling selectDate(new Date(year, month, day)) does not update the calendar if only the year changes. Changing day or month works.
With this workaround its works, because its changes day + month:
This is not working: starting with 2025-09-30, calling selectDate(2024-09-30) only updates the year in the internal state, but the calendar view does not reflect the change.