1. #1
    Ext User
    Join Date
    Apr 2008
    Posts
    2
    Vote Rating
    0
    plusminus is on a distinguished road

      0  

    Default [FIXED] ...widget.form.Radio messed up. "name"-Attribute does not appear in HTML.

    [FIXED] ...widget.form.Radio messed up. "name"-Attribute does not appear in HTML.


    Taken from the GXT-Explorer:

    Code:
    ...
        Radio radio = new Radio();  
        radio.setName("radio");  
        radio.setFieldLabel("Red");  
        radio.setValue(true);  
          
        Radio radio2 = new Radio();  
        radio2.setName("radio");  
        radio2.setFieldLabel("Blue");
    ...
    The "name"-attributes remain empty, what leads to the problem that all Radios in the whole UI share the same name and only one of all Radios can be checked at a time.
    HTML Code:
    ....
    <td align="left" style="vertical-align: top;">
    <div id="my-174" class="x-form-check-wrap x-form-field" hidefocus="hideFocus">
    <input class="x-form-radio" type="radio" name="" style="margin-top: 3px;"/>
    </div>
    </td>
    <td align="left" style="vertical-align: top;">
    <div id="my-175" class="x-form-group-label">Red</div>
    </td>
    <td align="left" style="vertical-align: top;">
    <div id="my-176" class="x-form-check-wrap x-form-field" hidefocus="hideFocus">
    <input class="x-form-radio" type="radio" name="" style="margin-top: 3px;"/>
    </div>
    </td>
    <td align="left" style="vertical-align: top;">
    <div id="my-177" class="x-form-group-label">Blue</div>
    </td>
    ...

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    This has already been fixed in SVN. Thanks.

Thread Participants: 1