Disabled Time
Restrict specific hours, minutes, or time ranges
Disabled Hours
#Disable specific hours from selection:
Disabled Minutes
#Disable specific minutes from selection:
Time Range
#Disable a time range with disabledTime.ranges (the hours, minutes and seconds lists are ignored when ranges is set):
Multiple Time Ranges
#Disable multiple time ranges:
24h Format with Range
#Disable time range in 24h format:
Dynamic DisabledTime Update
#Update disabled times at runtime with the setOptions() method:
Dynamic Range Update
#Update disabled ranges at runtime for shift scheduling or business rules:
Disable with a Function
#clock.isTimeDisabled decides per time. This one allows 09:00 to 16:59 only. The button adds a lunch break at 12:00 and calls refreshDisabledTime(), so the picker re-reads the function without a re-render.
Lunch break: off