I would like to be able to deactivate days + weekday numbers 1 to 7.
calendar.flatpickr({
disable: dateUnvailableCalendar,
minDate: "today",
onChange: function (selectedDates, dateStr) {
calendarHandleChange(dateStr);
}
});
This is what I have already done. this disable days i send in an array. now i wish i could disable day number 5 and 7 of every week of the whole year. Do you know how I can do this please?
Thank you for help.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/pnYMaFs
Comments
Post a Comment