This is a migrated thread and some comments may be shown as answers.
Readonly
3 Answers 155 Views
This is a migrated thread and some comments may be shown as answers.
PPCnSEO
Top achievements
Rank 1
PPCnSEO asked on 16 Mar 2012, 06:02 AM
When applying a numeric input to a read only input box the up down arrows still work.

Typing in the box is disabled but still possible to change the value through the arrows.

This is an important and simple fix and would be great to see in the next major release (if it hasn't been implemented already).

3 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 16 Mar 2012, 03:32 PM
Hello Mark,

 
The arrows are disabled when the NumericTextBox widget is disabled. Could you share with us why you need an readonly input instead of disabled one, when you not allow any interactions with it ?

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
PPCnSEO
Top achievements
Rank 1
answered on 17 Mar 2012, 05:58 AM
When disabled the input does not send its value in a form post.
When readonly it does.

I have a form and sometimes want to disable editing of certain inputs while still sending the values along with the rest of the form.
0
Georgi Krustev
Telerik team
answered on 22 Mar 2012, 10:55 AM
Hello Mark,

 
Thank you for the clarification. Such feature is in our ToDo list, but at this point I cannot tell when exactly it will be implemented. I will suggest you give your vote for it upvoting this uservoice item. As a workaround you can unbind click events of the arrows. Check this jsFiddle demo for more information.

Regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
PPCnSEO
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
PPCnSEO
Top achievements
Rank 1
Share this question
or