Need More Info
Last Updated: 24 Jan 2020 09:37 by ADMIN
Created on: 05 Aug 2019 06:59
Category: Validator
Type: Feature Request
How can i validate a readonly control (datepicker) ?

If we make an input readonly it doesn't get validated and wee need it to be validated on a readonly datepicker.

In kend.all.min.js we have



and if i modify it by adding readonly like below



We need to make that code configurable because the workarounds concerining this problem it's buggy.

1 comment
Marin Bratanov
Posted on: 08 Aug 2019 05:48

I am leaving this request open to see if there is community interest in it.

A major problem with allowing that is the user experience - if a read only or disabled input fails validation, the user won't be able to edit them in order to submit their data, which effectively locks them down. Thus, we can only assume that the application developer has provided valid value for such fields and/or that their server code knows about them and can handle them regardless of their values (if they get submitted, of course), or that they will not use an editor for showing information to the user.

Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.