-
15 Jan 2012 2:42 AM #1
setEnabled does not set the readonly state of a form field
setEnabled does not set the readonly state of a form field
In GXT 2.x setting the enabled state of a field set also the readonly state.
The statement
textField.setEnabled(false)
sets the field to disable and readonly.
In GXT 3 the same statement sets only the the field to disable, but did not change the readonly state. you have to make an extra call with textField.setReadOnly(true);
Is this a bug or a feature?
-
18 Jan 2012 2:00 PM #2
Update:
Using setEnable(false) in GWT makes a textbox also readonly.
I think GXT should behave in the same way.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote