react-datepicker icon indicating copy to clipboard operation
react-datepicker copied to clipboard

Select End of Range Only

Open tiagoapp opened this issue 2 years ago • 2 comments

When using the SelectRanges, is it possible to pre-define the startDate so the user only needs to pick the endDate?

I've two inputs (start and end) separately and would like to give the user the change to click on end and edit only the final value... is somehow possible to achieve those?

tiagoapp avatar Jul 17 '22 09:07 tiagoapp

Yes, there's a startDate prop you can use.

silvestreh avatar Sep 08 '22 15:09 silvestreh