Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    15
    Vote Rating
    0
    koenjan is on a distinguished road

      0  

    Default Disabling Radio not working

    Disabling Radio not working


    Hello,

    (Using GXT3 beta3)
    I'm trying to disable a com.sencha.gxt.widget.core.client.form.Radio:
    In UiBinder, I tried readOnly="true" and enabled="false", but the radio is still editable (exept in IE8; I tried Chrome 17, IE8, FF10.0)

    this is the UiBinder source code:
    Code:
    <gxtForm:Radio readOnly="true" boxLabel="M" />
    <gxtForm:Radio enabled="false" boxLabel="M" />
    <gxtForm:Radio readOnly="true" enabled="false" boxLabel="M" />
    And this is the result

    Code:
    <div id="x-widget-39" class="GJV4SYICLK" __gwtcellbasedwidgetimpldispatchingfocus="true" __gwtcellbasedwidgetimpldispatchingblur="true">
    <div class="GJV4SYICMO">
    <input id="x-auto-0" type="radio" name="" readonly="">
    <label class="GJV4SYICGO" htmlfor="x-auto-0" for="x-auto-0">M</label>
    </div>
    </div> <div id="x-widget-40" class="GJV4SYICLK GJV4SYICFK" __gwtcellbasedwidgetimpldispatchingfocus="true" __gwtcellbasedwidgetimpldispatchingblur="true">
    <div class="GJV4SYICMO">
    <input id="x-auto-1" type="radio" name="">
    <label class="GJV4SYICGO" htmlfor="x-auto-1" for="x-auto-1">M</label>
    </div>
    </div> <div id="x-widget-41" class="GJV4SYICLK GJV4SYICFK" __gwtcellbasedwidgetimpldispatchingfocus="true" __gwtcellbasedwidgetimpldispatchingblur="true">
    <div class="GJV4SYICMO">
    <input id="x-auto-2" type="radio" name="" readonly="">
    <label class="GJV4SYICGO" htmlfor="x-auto-2" for="x-auto-2">M</label>
    </div>
    </div>

    How should I really disable it?

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    15
    Vote Rating
    0
    koenjan is on a distinguished road

      0  

    Default


    is this the same error as in
    http://www.sencha.com/forum/showthre...ons-amp-edited ???
    and therefore fixed in SVN?

  3. #3
    Sencha User WesleyMoy's Avatar
    Join Date
    Oct 2009
    Location
    Redwood City, California
    Posts
    402
    Vote Rating
    2
    WesleyMoy is on a distinguished road

      0  

    Default


    This does seem to be fixed in Beta 4. The latter two radio buttons become disabled. Try your test case with Beta 4 again and post a reply if you still notice any problems.

  4. #4
    Sencha User
    Join Date
    Dec 2011
    Posts
    15
    Vote Rating
    0
    koenjan is on a distinguished road

      0  

    Default


    Yes, it is fixed in beta 4... thank you guys! Keep up the good work!

Thread Participants: 1