New to Telerik UI for Blazor? Download Free 30-day trial
TimePicker - Incremental Steps
- EXAMPLE
- VIEW SOURCE
- EDIT IN TELERIK REPL
- Change Theme
default
Open the popup to see how the time tumblers show every n-th item as per the
TimePickerSteps
tag settings. Also, focus the input and use the Up
and Down
arrows to change the selected date and time. They change with the increment steps defined in the code, not by the default 1.
Steps: Hour: 2, Minute: 15, Second: 20
- Incremental-steps.razor
Loading the demo source code...please wait.
Description
The Blazor Time Picker component renders lists with the time of day (hours, minutes, seconds) in its popup. You can control whether to see every one of them, or to skip some so the lists are shorter. You can define that through its child TimePickerSteps
tag.
The component also lets you change the value of each date segment with the keyboard - you can either type, or use the Up
and Down
arrows. When you use the arrows, the value changes with 1
by default. It will take into account the settings from the TimePickerSteps
tag.