Form inputs get readonly class while they can be editted

Form inputs get readonly class while they can be editted

  
I have a problem with the form component.

When the inputs on the form can be editted but do not have the focus they get the class readonly.
So the background becomes gray.
When an input is really readonly (enabled = false) there is also the class readonly (and ther readonly attribute is set to readonly).
For the user there is no diffence between readonly because of is has not the focus or the control is readonly because it can not be editted.
In the first senario the readonly class should me be placed on the input. Give it a "nofocus" class or something.


Version: 9.0.1.35
Hi Johan

I agree with you, for the user's eyes there is no difference. I had this issue once, and my workaround was to override the css style - readonly - to have a different background color.

screenshot here:
http://screencast.com/t/8JLyGiXLK4X

Vera



Hi Vera,

Thanks for your reply. I did the same thing and also added my own class "RealReadOnly" when I disable the control.

Is this the way to report the bug or should I report it somewhere else?
Not sure if it's a bug or a feature :)
But you can send your feedback directly to the team here:
http://www.outsystems.com/forge/component-discussions/916/Silk+UI+Framework

by clicking on "Send feedback" button



cheers

Okay but it is not an SIlkUI issue but a forms issue :)
We encountered also this problem:
http://www.outsystems.com/forums/discussion/16646/from-input-get-class-readonly-but-enable-true/
It looks like it’s a Liverpool/SilkUI thing. In London this doesn't happen by my notice.