You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Allowed dates styles are missing for month picker for years that aren't passed as allowedDates.
It's related to #1008
Now months disabled only if passed at least one month in that year.
Set allowed dates to different years, e.g. ['2018-01-01', '2016-01-01', '2019-05-01']
When you open year 2017 or any year that aren't in the array, they all doesn't have style to show that they aren't selectable.
Expected behavior
All years that are displayed will have styles for months to show that they aren't selectable if they aren't in the array of allowed dates.
Screenshots
Desktop & mobile (please complete the following information):
Browser chrome, but I suppose all
Library version 10.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Allowed dates styles are missing for month picker for years that aren't passed as allowedDates.
It's related to #1008
Now months disabled only if passed at least one month in that year.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All years that are displayed will have styles for months to show that they aren't selectable if they aren't in the array of allowed dates.
Screenshots
Desktop & mobile (please complete the following information):
The text was updated successfully, but these errors were encountered: