Range Length Limits
Bound how many days a date range may span with @pglejzer/datepicker-ui.
Minimum and maximum length
#calendar.range.minLength and maxLength bound a range in days, with both ends counted. Here a range must cover 3 to 14 days. A typed range that breaks the limits shows labels.invalidRange.
Future dates only
#The limits combine with the other calendar rules. Adding minDate: "today" keeps past days out of the range as well.
Docs: Selection Modes · Disabled Dates · Options