Is there any way to catch format exception from Time picker? It seems that whenever I manually enter time with wrong format into Time picker it won't fire onChange event and I can not validate proper format.
Thank you.
2 Answers, 1 is accepted
0
Accepted
Alexander Popov
Telerik team
answered on 19 Dec 2013, 02:32 PM
Hi Michael,
Basically the change event is triggered only when the value of the widget has changed. Since the input was invalid the value remains unchanged. In the current case I would recommend you to use the KendoUI Validator and define a custom validation rule and use the validate method when leaving the input element or pressing enter. You can find a simple example of that behavior here.
Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!