Date Ranges

The DatePicker provides options for displaying date ranges.

You can control the range of dates by setting the min and max properties. When the min and max properties are configured and the selected date value is out of this range, the component triggers a validation error.

Alternatively, to prevent typing an out-of-range value, you can render the input in a read-only state, allowing the user to choose a value only from the popup Calendar (see example).

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?