React-dates: Date Range Picker

Created on 21 Jul 2017  路  4Comments  路  Source: airbnb/react-dates

I have a requirement to implement Max range, and disable future dates can it be done?

Most helpful comment

I feel like I should update the README to clarify what each of the functions take as args and require as a return

All 4 comments

This sort of question may be better suited for stackoverflow. But yes, while there isn't a prop as straightforwards as minimumNights, a function isOutsideRange() can be passed that returns false for any day more than n days after the selected start date.

(It'd be better for all questions to start on the repo; SO means you're getting an answer that if wrong, the maintainers have less of a chance to correct)

I feel like I should update the README to clarify what each of the functions take as args and require as a return

Thank you guys for the suggestion! more elaborate docs with may be example snippets will be very helpful

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asulaiman picture asulaiman  路  28Comments

rodryquintero picture rodryquintero  路  70Comments

Jucesr picture Jucesr  路  19Comments

brunocoelho picture brunocoelho  路  28Comments

easwee picture easwee  路  55Comments