Sets or gets ranges of dates that an app user can't select.
Setting disabledDateRanges
prevents app users from
selecting dates in the specified ranges.
Set disabledDateRanges
to:
[]
), to remove the current disabled dates.Getting disabledDateRanges
returns the current
list of disabled date ranges.
Ranges are inclusive. This means that January 10th and February 10th are disabled when specifying a range from January 10, 2025 to February 10, 2025.
Disabled dates override any dates enabled with enabledDateRanges
.
This means that if a date matches both enabled and disabled properties, the app user
can't select the date in the mobile date picker.