react-daterange-picker icon indicating copy to clipboard operation
react-daterange-picker copied to clipboard

Restrict selection to 30 days

Open dwalks12 opened this issue 4 years ago • 3 comments

Is there a way to restrict the range to 30 days maximum?

dwalks12 avatar Jul 01 '20 18:07 dwalks12

Not at the moment, but once the feature lands to pass unfinished ranges to onChange function, you'll be able to detect selected first date & set minDate/maxDate accordingly.

wojtekmaj avatar Jul 03 '20 08:07 wojtekmaj

Not at the moment, but once the feature lands to pass unfinished ranges to onChange function, you'll be able to detect selected first date & set minDate/maxDate accordingly.

Any eta for this type of feature?

AustinMutschler avatar Jul 30 '20 16:07 AustinMutschler

@wojtekmaj , any update on this feature ?

the-marolie avatar Jan 31 '24 04:01 the-marolie