View Full Version : setEnabled does not set the readonly state of a form field

15 Jan 2012, 2:42 AM
In GXT 2.x setting the enabled state of a field set also the readonly state.

The statement


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
Using setEnable(false) in GWT makes a textbox also readonly.

I think GXT should behave in the same way.