Open wahablukman opened 6 years ago
Hey I have run into the same situation using the datepicker and was able to solve it by first setting
datePicker.set('disable', true);
to disable all dates and then setting my available dates, maybe this would work for the timepicker as well?
@wahablukman @shazzygh You could use the datepicker events.
im trying to do dynamic time disabling, here is what i have
The flow is, user picks a date -> JS checks if there are same dates between input date and dates inside arrays and return those same dates -> from those same dates get the time slot taken
It is working as expected when i FIRST select a date, however, the next times i do it, the time slots taken from the first selected date is also there, it does not refresh. Anyone has experienced this before or has a solution to this issue ?