Hi @Daniel_Toffling!
Currently this is not supported out of the box. The invalid dates are not allowed for start or end dates only. What you could do is to implement a custom logic in the onDayChange event, which gets called when a date is tapped on the calendar. Returning false from this event prevents date selection. Here’s the basic idea using jquery:
$('#myrange').mobiscroll().range({
onDayChange: function (day, inst) {
if (day.active == 'end') { // End date was selected
var dates = inst.getVal(true);
// Check with custom logic if the range dates[0] -> day.date is valid
// If not, return false, to prevent end date selection
}
}
});
Let us know if that helps!