對於內部組合框複選框我使用:ExtJS的組合與複選框
AOEDComboAssociationName = new Ext.form.ComboBox({
id: 'AOEDComboAssociationName',
store: AOEDstoreAssociationName,
displayField: 'Name',
valueField: 'Id',
typeAhead: true,
mode: 'local',
emptyText: '',
selectOnFocus: true,
triggerAction: 'all',
width: 220,
tpl: new Ext.XTemplate('<tpl for=".">'
+ '<div class="search-item" >'
+ '<input type="checkbox" class=" x-form-checkbox x-form-field"> {Name}'
+ '</div></tpl>'
)
})
其顯示與組合顯示領域一起復選框,但是當我選擇一個項目組合自動崩潰了,所以再次點擊組合的選擇多(另一項)
我該如何檢查多次?