@caromagagna It looks like you have no disabled dates.
Try to see if you add:
Before the const disabledDates . what does it log?
I suggest:
-
Get rid of the console.log (last line)
-
Make sure there’re disabled dates.
-
Currently, you’re using a depreciated method at the beginning:
//DEPRECIATED
$w ("#datePicker1").disabledDates = disabledDates
$w ("#datePicker2").disabledDates = disabledDates
Instead you should use disabledDateRanges to set these dates.