Unplanned
Last Updated: 13 Sep 2024 13:48 by Kendo UI
Kendo UI
Created on: 13 Sep 2024 13:48
Category: TimePicker
Type: Feature Request
0
Add option that restricts the user to type value outside of range

Currently, when the min and max options of the TimePicker are defined, the user is still able to enter a value that is outside the specified range, which triggers an error and the control enters an invalid state.

Provide an option that would entirely restrict the user from entering values outside the specified range and would automatically correct the value to the corresponding min or max value.

One way to achieve such functionality is to handle the blur event of the TimePicker and correct the value if necessary:

https://stackblitz.com/edit/angular-b1e6jl

0 comments