You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to disallow users to select date ranges if one or more of the days in the selected range is not selectable?
So, let's say, I'm setting my dateSelectionFilter to not allow selecting date 17/06/2019. In that case, user should not be able to select a range like between 15/06/2019 and 19/06/2019 or a wider range because that one not selectable day is in the range.
I checked and couldn't find a solution for it. Is it possible to do that at the moment or do we need an update?
I can still manually achieve this by after user makes a range selection, I can loop through the selected days and check them one-by-one, but just wondered if the CalendarView have this feature already.
The text was updated successfully, but these errors were encountered:
At the current version there is no suitable api to achieve what you want "out of the box". And I think this is not a common use case to implement it in the library. But, as you said, you can implement this scenario by manually checking selected dates and updating dates range accordingly.
Hi,
Thanks for the great library.
Is it possible to disallow users to select date ranges if one or more of the days in the selected range is not selectable?
So, let's say, I'm setting my dateSelectionFilter to not allow selecting date
17/06/2019
. In that case, user should not be able to select a range like between15/06/2019
and19/06/2019
or a wider range because that one not selectable day is in the range.I checked and couldn't find a solution for it. Is it possible to do that at the moment or do we need an update?
I can still manually achieve this by after user makes a range selection, I can loop through the selected days and check them one-by-one, but just wondered if the CalendarView have this feature already.
The text was updated successfully, but these errors were encountered: