Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2010
    Location
    Germany, Solingen
    Posts
    248
    Vote Rating
    3
    gishmo is on a distinguished road

      0  

    Default 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?

  2. #2
    Ext GWT Premium Member
    Join Date
    Aug 2010
    Location
    Germany, Solingen
    Posts
    248
    Vote Rating
    3
    gishmo is on a distinguished road

      0  

    Default


    Update:
    Using setEnable(false) in GWT makes a textbox also readonly.

    I think GXT should behave in the same way.