Ext JS的Radiobuttons

时间:2013-05-31 08:23:09

标签: extjs

我有以下代码,可以形成两个radio buttons。问题是可以同时选择radio buttons。如何修复我的代码?

{
   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
   }

1 个答案:

答案 0 :(得分:0)

这是放射性组的一个很好的例子 Sencha example

相关问题