Extra Characters

2 posts, 0 answers
  1. Chris
    Chris avatar
    7 posts
    Member since:
    Jan 2012

    Posted 01 Jul 2014 Link to this post


    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!
  2. Georgi Krustev
    Georgi Krustev avatar
    3725 posts

    Posted 02 Jul 2014 Link to this post

    Hello Chris,

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

    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top