CalendarPicker icon indicating copy to clipboard operation
CalendarPicker copied to clipboard

Add from/to attribute to highlight the range without requiring the user to swipe across the range.

Open JJSLIoT opened this issue 2 years ago • 0 comments

I have a use case that required a date range selected using "From" and "To" toggle buttons. Therefore, the user can only select the dates by tapping on the date of choice and not by swipping across the calendar. When the user has selected the "From" and "To" dates, I want to highlight that range.

Currently, as per docs, there does not seem to be any control to explicitly set the from/to Date for range highlight purpose only. The minDate and maxDate attributes as per docs just limit the selection range.

It would be nice to see optional parameters to explicitly set fromRangeDate and toRangeDate just for range highlight purposes.

JJSLIoT avatar Oct 14 '21 04:10 JJSLIoT