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

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

3 Answers 820 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Salim
Top achievements
Rank 1
Salim asked on 14 Jun 2016, 11:38 AM

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

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 16 Jun 2016, 08:25 AM
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.
 
0
Salim
Top achievements
Rank 1
answered on 16 Jun 2016, 09:10 AM
Yes, but this will be confusing for the user who can enter any data
0
Georgi Krustev
Telerik team
answered on 17 Jun 2016, 07:03 AM
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.
 
Tags
Date/Time Pickers
Asked by
Salim
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Salim
Top achievements
Rank 1
Share this question
or