Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 extjs 表单,我需要在彼此旁边添加 2 个复选框。我的字段标签将是“允许”,复选框标题是“是”和“否”
我的代码:
{ fieldLabel: 'Allow', },
用这个:
{ fieldLabel: 'allow', xtype:'toolbar', items:[{ xtype:'checkbox', fieldLabel: 'CB1', name: 'CB1' }, { xtype:'checkbox', fieldLabel: 'CB1', name: 'CB1' }] }