Hi, I want to add minDate ,maxDate, disabledDates constraints for each of the dates - for the start date and also for the end date
I'm using date-fns as a date library
Problem:
As soon as I add conditions to the restrictions in disabledDate, I periodically have no success setting the start date
I'm trying to solve this by adding an onCalendarChange handler, but in this case, when setting the date, the validation of the selected date does not pass
I would like to set the dates for the restriction something like this:
Hi, I want to add
minDate
,maxDate
,disabledDates
constraints for each of the dates - for the start date and also for the end date I'm using date-fns as a date libraryProblem: As soon as I add conditions to the restrictions in
disabledDate
, I periodically have no success setting the start date I'm trying to solve this by adding anonCalendarChange
handler, but in this case, when setting the date, the validation of the selected date does not passI would like to set the dates for the restriction something like this:
This is roughly what it looks like now