We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Timepicker does not change the value and does not signal a wrong format.

Hello

When the initial timepicker value is e.g. 07:00 and I enter the wrong format during editing, e.g. 07: XX, the timepicker value does not change. It's still 7:00.

How can I detect that there is incorrect data entered in a component?

The problem is that the value of e.g. 7:15 is also wrong (there is no leading zero).

regards

Maciej


1 Reply

SP Sureshkumar P Syncfusion Team November 14, 2022 05:42 AM

Hi Maciej,

we have planned for the mask support feature at our end, which does not allow the DatePicker component to enter an invalid date. Your requirement can be achieved with the required validation once it has been implemented. 

The feature will be included in any of the upcoming releases. Now you can track the status on the feedback link below. 

Feedback link: https://www.syncfusion.com/feedback/1839

Regards,

Sureshkumar P


Loader.
Live Chat Icon For mobile
Up arrow icon