disabledDaysOfWeek


disabledDaysOfWeekArray<number>

Sets or gets the days of the week that an app user can't select.

Setting disabledDaysOfWeek prevents app users from selecting the specified days of the week.

Set disabledDaysOfWeek to an empty array ([]) to remove the current disabled days of the week.

Getting disabledDaysOfWeek returns the current list of disabled days of the week.

disabledDaysOfWeek accepts an array of integers from 0 to 6, where 0 represents Sunday, 1 is Monday, 2 is Tuesday, and so on.

If a date falls on a disabled day of the week, but is also set as an enabled date with enabledDateRanges, the date is disabled and the app user can't select the date in the date picker.

Did this help?