Answer the question
In order to leave comments, you need to log in
How to disable dates in rc-calendar?
there is a library https://github.com/react-component/calendar
there is api rc-calendar/lib/RangeCalendar props
there is a description of
disabledDate Function(current:GregorianCalendar):Boolean null whether to disable select of current date
what the author wanted to say, can anyone come across?
this is Function(current:GregorianCalendar):Boolean
what it should be?
Answer the question
In order to leave comments, you need to log in
I don’t see such a line there, but there is this disabledDate Function(current: moment): Boolean. This means that you need to pass a function to this prop that takes a date (moment object) and returns true / false.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question