hi, i want to disable selection date like airbnb
this my date

and i want to


I do not know the key word, so I explained through the picture.
I am very grateful if you help me. thank you
Use isOutsideRange prop and pass it the function, let f = (day) => {// if has to be disabled return true, otherwise false}
I will post some more detailed code later today on how to make this happen
in later versions of react-dates. :)
On Tue, Jan 23, 2018, 2:27 AM lavokad notifications@github.com wrote:
Use isOutsideRange props and pass it the function, let f = (day) => {//
if has to be disabled return true, otherwise false}—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/react-dates/issues/971#issuecomment-359746909,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUdtT0An8En5spdPKW9gGriPCeMnFv4ks5tNbQFgaJpZM4RpU2A
.
@majapw have you posted any detailed code for the same problem? Please post it as it would be of great help to the community if you haven't posted it already.
Looking for a solution to this too.
Most helpful comment
@majapw have you posted any detailed code for the same problem? Please post it as it would be of great help to the community if you haven't posted it already.