Disabling bound TextField

How can i disable a TextField that is bound with the help of a field group? Is this a bug? Without binding the textfield.setEnable(false) operation works as expected.


Binding a field to a field group resets the enabled -status of the field to be the same as the field group.
For example, if you set the fieldgroup as disabled before binding:

fieldGroup.setEnabled(false); fieldGroup.bindMemberFields(this); The result would be that all the binded fields are disabled.

In your case, call textfield.setEnabled(false) after the binding and it should be OK.