Incremental Steps

By default, the DateInput increments or decrements each part of its date values by one step.

To change the default setup, use the steps property.

The available options are:

  • year: NumberControls the incremental step of the year value.
  • month: NumberControls the incremental step of the month value.
  • day: NumberControls the incremental step of the day value.
  • hour: NumberControls the incremental step of the hour value.
  • minute: NumberControls the incremental step of the minute value.
  • second: NumberControls the incremental step of the second value.
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?