KVComboBox: add setComboItems function

this allows to change the comboItems of a KVComboBox on the run

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
This commit is contained in:
Oguz Bektas 2019-07-11 14:54:06 +02:00 committed by Thomas Lamprecht
parent 312310e0f2
commit c8b66b2bfd

View File

@ -71,5 +71,12 @@ Ext.define('Proxmox.form.KVComboBox', {
}
me.callParent();
},
setComboItems: function(items) {
var me = this;
me.getStore().setData(items);
}
});