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

jpollard-cs picture jpollard-cs  路  3Comments

ekohanyi picture ekohanyi  路  3Comments

maciej-w picture maciej-w  路  3Comments

Adam-Pendleton picture Adam-Pendleton  路  3Comments

krissalvador27 picture krissalvador27  路  3Comments