In this sample, your date range selection is restricted to select minimum four days and maximum ten days.
In this sample, your date range selection is restricted to select minimum
five days and maximum
ten days.
For example, in some hotel booking website, we need to book rooms that includes packages like minimum 3 days to maximum 4 days. For this scenario this feature can be used.
More information on the DateRangePicker minDays/maxDays support can be found in the documentation section.