Results 1 to 2 of 2

Thread: radio group - deselect when is read only

  1. #1
    Ext User fother's Avatar
    Join Date
    Sep 2007
    Location
    Brazil
    Posts
    744

    Default radio group - deselect when is read only

    test on hosted mode - win vista [gxt 2.0.1 and gwt 1.7.0]
    Code:
        Radio radio = new Radio();
        radio.setName("radio");   
        radio.setBoxLabel("Red");   
        radio.setValue(true);   
        radio.setReadOnly(true);
      
        Radio radio2 = new Radio();   
        radio2.setName("radio");   
        radio2.setBoxLabel("Blue");   
        radio2.setReadOnly(true);
      
        RadioGroup radioGroup = new RadioGroup("test");   
        radioGroup.setFieldLabel("Favorite Color");   
        radioGroup.add(radio);   
        radioGroup.add(radio2);   
        simple.add(radioGroup, formData);
    how to reproduce: click in the radio "Blue" you will see that the radio "Red" will deselect and the radio "Blue" dont will select.. if you compile and use firefox, ie or chrome.. will see that the behaviour its diferent..

  2. #2

    Default

    This should be in the bugs section, on IE8, users can unset the value of the radio even when read-only. Haven't tested with other multifields yet.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •