Hello, im trying to disabled the previous day of the start date, once the user click it on the start date.
This is my code:
<mbsc-range
#pickerRef="mobiscroll"
[options]="options"
></mbsc-range>
My ts code
this.options = {
...
onSetDate: this.onSetCalendarAbTest,
...
};
private onSetCalendarAbTest = (event, inst) => {
this.min = this.value[0];
inst.settings.min = this.value[0]; // Wed Feb 09 2022
// its the array with
inst.settings.defaultValue = [this.value[0], null] // [ Wed Feb 09 2022, null]
inst.redraw();
}
}
}
But i can´t disabled the dates…