jeudi 3 avril 2014

Unable to copy(Ctrl+C) data from readonly text field

Hello,



We have many text fields in our application for which "readonly" attribute is set to "true". Now we are unable to select and copy data from these fields using keyboard shortcut Ctrl+C. We have verified that setting a field as readonly in plain HTML does not restrict the copying functionality, so is there some specific restriction imposed by GXT?



If any of you have had similar problem and found a workaround for it then it would be great if you could share that with us.



Below is the ui.xml definition of our textfield.


Code:



< form:FieldLabel ui:field ="sequenceNoLabel" text ="Sequence No" >
< form:widget > < form:TextField ui:field ="sequenceNo" readOnly ="true" /> </ form:widget>

</ form:FieldLabel >






Aucun commentaire:

Enregistrer un commentaire