Results 1 to 3 of 3

Thread: Radiogroup - Only one button checked at a time?

  1. #1
    Sencha User
    Join Date
    Jul 2009
    Posts
    38

    Default Radiogroup - Only one button checked at a time?

    Am I missing something obvious here, or should I be able to configure my Radiogroup so that only one radio button in that group can be checked at once (should this not be default behaviour?). At the moment, the buttons will remain checked even when I click another.

    My code:

    Code:
      var testRadio = new Ext.form.RadioGroup({
        columns: 1,
        items: [{
            boxLabel: 'Test 1,
            name: 'test1'
          },{
            boxLabel: Test 2 ',
            name: 'test2'
          },{
            boxLabel: 'Test 3',
            name: 'test3'
          }
        ]
    });

  2. #2
    Ext User Lukman's Avatar
    Join Date
    Jun 2009
    Location
    Malaysia
    Posts
    138

    Default

    The items should have the same name.

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Posts
    38

    Default

    Ahh okay, works now. Thanks

Posting Permissions

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