0
我有以下代码可以使两个radio buttons
形成。问题是可以同时选择两个radio buttons
。如何解决我的代码?使用Ext JS的辐射按钮
{
xtype: 'radio',
checked: true,
fieldLabel: '<?= $this->fail_select ?>',
boxLabel: '<?= $this->i_am_not ?>',
name: 'option1',
inputValue: 'option1',
height:20
}, {
xtype: 'radio',
fieldLabel: '',
labelSeparator: '',
boxLabel: '<?= $this->something_else ?>',
name: 'option2',
inputValue: 'option2',
height:32
}
他们两个给通用名称。例如'名字:“option1' – MMT