maxDate


maxDate

Sets or gets the latest date that a site visitor can select.

Setting the maxDate property prevents site visitors from selecting dates past the maximum date.

Set maxDate to undefined to remove the current maximum date limitation.

Getting the maxDate property returns the current maximum date that a site visitor can select.

If a date is past the maximum date but is also set as an enabled date with the enabledDateRanges property, the date is disabled and the site visitor can't select the date in the date picker.

Was this helpful?
Yes
No