View Full Version : Radiogroup - Only one button checked at a time?

18 Aug 2009, 7:51 AM
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:

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

18 Aug 2009, 8:08 AM
The items should have the same name.

18 Aug 2009, 8:23 AM
Ahh okay, works now. Thanks