Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    87
    Vote Rating
    0
    mulcha is on a distinguished road

      0  

    Default textfield.setEnable(false) not working

    textfield.setEnable(false) not working


    Hi.., I want to disable a text field and I am calling textfield.setEnabled(false) and it is not diabling the field, pls help, thanks in advance.

  2. #2
    Sencha User
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I moved this thread to the bugs forum and pushed it to our issue tracker. We will update this thread once we have more information available.

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

      0  

    Default


    @mulcha:
    which version are you using?

  4. #4
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    87
    Vote Rating
    0
    mulcha is on a distinguished road

      0  

    Default version is gxt3

    version is gxt3


    Quote Originally Posted by gishmo View Post
    @mulcha:
    which version are you using?
    .

    I am using gxt3.

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

      0  

    Default


    well, that is logical if you post in this group.

    Are you using version 3.0.0 rc x or version 3.0.0 or version 3.0.0b?

  6. #6
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    87
    Vote Rating
    0
    mulcha is on a distinguished road

      0  

    Default


    gxt 3.0.0 commercial version.

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

      0  

    Default


    Ok, I am using 3.0.0b and it works for me.
    What's your problem?

  8. #8
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    87
    Vote Rating
    0
    mulcha is on a distinguished road

      0  

    Default


    As I said, it is not disabling for me. I have a FieldLabel in UIBinder and I am adding one combo, 2 text fields in a horizontal panel in the view java code to this senderLabel and when I tried to disable the one of the text fields by setEnabled(false) it is not disabling that text field.

    <form:FieldLabelui:field="senderLabel"HTML="&lt;b&gt;Sender&lt;/b&gt;&lt;span style=&quot;color:red;&quot;&gt; *&lt;/span&gt;">
    </form:FieldLabel>

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

      0  

    Default


    Ae you sure, that your field reference is correct?
    Have you tried setText and does this work?

    I am using setEnabled quite often (without UiBinder) and it works.
    I know, there were an issue in some of the release candidates.

  10. #10
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    87
    Vote Rating
    0
    mulcha is on a distinguished road

      0  

    Default


    setText() is not working but setEmptyText() is working.

Thread Participants: 2