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

Extra Characters

1 Answer 50 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 01 Jul 2014, 05:27 PM
Hello,

Is there a way to allow extra invalid characters to be formatted? For example "070120145sd4gf65wg" should format to (in my case) "07/01/2014". The strange thing is that kendoValidator accepts it in the back end, but I don't know how to allow it in kendoDatePicker's parseFormats so that the display will show "07/01/2014" and not the invalid one because the validator somehow "accepts" it and doesn't display "Invalid date". Thanks!

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Jul 2014, 08:35 AM
Hello Chris,

The required functionality can be accomplished using widget parseOptions configuration. Check this demo, which shows the correct configuration.

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
Chris
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or