How to restrict invalid date for date picker and time for time picker?

4 posts, 0 answers
  1. Salim
    Salim avatar
    29 posts
    Member since:
    Jun 2016

    Posted 14 Jun Link to this post

    Hi,

    I am new to Telerik, and we are evaluating the Kendo UI. I was checking the date picker and time picker and I noticed that the user can enter any value in the text without any validation. Is there an option to retstrict invalid date for date picker and time for time picker?

     

    Thank you in advance

  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 16 Jun Link to this post

    Hello Salim,

    The widget allows any character input, because it accepts different date formats, which controlled by the parseFormats option. You can find more details about this behavior and a possible solution in our documentation:
    Regards,
    Georgi Krustev
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
  4. Salim
    Salim avatar
    29 posts
    Member since:
    Jun 2016

    Posted 16 Jun in reply to Georgi Krustev Link to this post

    Yes, but this will be confusing for the user who can enter any data
  5. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3707 posts

    Posted 17 Jun Link to this post

    Hello,

    I would suggest you post your suggestion in our UserVoice portal or cast your vote for similar ones. This will help us gather valuable feedback from the community and decide how to improve the behavior of the widgets.

    Regards,
    Georgi Krustev
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready