Closed elizavetaKrainova closed 1 year ago
Describe the bug month-picker datepicker doesn't work with disabled-dates.
month-picker
disabled-dates
To Reproduce Steps to reproduce the behavior:
(date) => { return date < new Date(); }
Expected behavior All previous months should be disabled. Without month-picker prop it works but only for days, not for the months.
Screenshots
Desktop & mobile (please complete the following information):
It is intended behavior, as disabled-dates only work on the calendar. You can use filters to disable months or years if needed.
Describe the bug
month-picker
datepicker doesn't work withdisabled-dates
.To Reproduce Steps to reproduce the behavior:
month-picker
anddisabled-dates
, say, to(date) => { return date < new Date(); }
.Expected behavior All previous months should be disabled. Without
month-picker
prop it works but only for days, not for the months.Screenshots
Desktop & mobile (please complete the following information):