I have this property for Melt Calendar:
const { elements: { calendar, heading, grid, cell, prevButton, nextButton }, states: { months, headingValue, weekdays }, helpers: { isDateDisabled, isDateUnavailable }} = createCalendar({ defaultValue: new CalendarDate(year, month, day), locale: 'ph', fixedWeeks: true, isDateUnavailable: (date) => { return isWeekend(date, 'en') }});
I can also disable specific date by using:
isDateDisabled: (date) => { return date.day == 1}
But I can only do this once.
I want to disable more dates that are in array form, for example:Holidays = [12/25, ...]