This is a migrated thread and some comments may be shown as answers.

validation using ng-pattern not working on mouse select

3 Answers 119 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
developer
Top achievements
Rank 1
developer asked on 02 May 2016, 10:13 AM

Hi.

I'm validating time picker using ng-pattern with 24 hours format. it is working on key events,but on selection of time picker drop down.

Find the DOJO and the screenshot.

Appreciate your support on this.

 

3 Answers, 1 is accepted

Sort by
0
developer
Top achievements
Rank 1
answered on 02 May 2016, 10:21 AM
Attached the detailed screenshot of the issue.
0
developer
Top achievements
Rank 1
answered on 02 May 2016, 10:21 AM
Attached the detailed screenshot of the issue.
0
Georgi Krustev
Telerik team
answered on 04 May 2016, 08:35 AM
Hello,

I would suggest you force the input change event trigger. Thus on every change of the widget, you will notify any listeners (ng-model in this case) for the change:
Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Date/Time Pickers
Asked by
developer
Top achievements
Rank 1
Answers by
developer
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or