calendar icon indicating copy to clipboard operation
calendar copied to clipboard

RangeCalendar support disabledDate with function array ?

Open EscapeB opened this issue 6 years ago • 1 comments

component: RangeCalendar

Now, the function passed to disabledDate props affect both startTime and endTime. But sometime we need to disable startTime and endTime in different ways. For example, we need ensure that the selected starTime is between A and B and endTime is between C and D. I hope that disabledDate props can support function array, user can pass an array with two functions and disable date independently.

EscapeB avatar Jan 18 '19 06:01 EscapeB

The same as disabledTime is a better way.

EscapeB avatar Jan 18 '19 07:01 EscapeB