Hello
I want to reset my date time input , with selectionMode of range.
However using reactive forms, it doesn’t seem to work propertly when I have a maxDate and minDate.
If I do:
formControl.reset()
The calendar starts showing NaN
and if I do
formControl.setValue({})
The disabled dates wont be grayed out with the disabled class the first time you open it.
Simple way to reproduce it, is by setting the maxDate to “new Date()” , and add a timeout on ngOnInit
ngOnInit() {
setTimeout(
()=>{
this.fc.setValue({})
}, 500
)
}

Is this a bug? How do I properly reset a date time input range, with max dates?
I’ve also tried setRange and val(null,null)