Style for readonly textbox

Answered
0
0

Hi,
I need to set a custom style for readonly textbox. Can you please explain how to define new style and set it for readonly textbox? actually the readonly textbox look similar at the enabled textbox.

Thanks.

 

  • You must to post comments
Great Answer
0
0

Hi Guadalupe,

Please have a look at ReadOnlyMixin.

  • guadalupe
    Hi Tiago, I looked at ReadOnlyMixin but I can see that the style of the readonly textbox is equals that enabled textbox. I need to have a different style when the control is at state readonly. I tried to aggregate the state in the theme but not worked. How I can do this?
  • You must to post comments
0
0

Hi Guadalupe,

What version of Wisej are you running?

  • guadalupe
    Hi Tiago, I checked and upgrade my version of wisej and all it worked. Thank you.
  • You must to post comments
0
0

Hi Tiago,
The ReadOnly appearance that I can see is equal to the Enable state. I attach a picture.

 

Attachment
  • You must to post comments
0
0

Hi Guadalupe,

Please confirm that running the example you can see the ReadOnly appearance is equal to the Disabled state, as you can see in the attached picture. The difference is that the disabled state doesn’t allow sellection while ReadOnly state does allow selection.

Concerning Mixin editing, please refer to EditMixins. You should change styles and properties for state readonly.

Attachment
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.