Declined
Last Updated: 31 Mar 2021 13:38 by ADMIN
John
Created on: 05 Aug 2019 06:59
Category: Validator
Type: Feature Request
0
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

 

v=":input:not(:button,[type=submit],[type=reset],[disabled])"

and if i modify it by adding readonly like below

v=":input:not(:button,[type=submit],[type=reset],[disabled],[readonly])"

 

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

2 comments
ADMIN
Viktor Tachev
Posted on: 31 Mar 2021 13:38

Hi,

We are declining this item due to low interest .

Regards,
Viktor Tachev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

ADMIN
Marin Bratanov
Posted on: 08 Aug 2019 05:48
Hello,

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.


Regards,
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.