From: Oguz Bektas Date: Thu, 11 Jul 2019 12:54:06 +0000 (+0200) Subject: KVComboBox: add setComboItems function X-Git-Url: https://git.proxmox.com/?p=proxmox-widget-toolkit.git;a=commitdiff_plain;h=c8b66b2bfd1cbfbae7f9cc5643c811030d53a4a8 KVComboBox: add setComboItems function this allows to change the comboItems of a KVComboBox on the run Signed-off-by: Oguz Bektas --- diff --git a/form/KVComboBox.js b/form/KVComboBox.js index 0970fcf..5e76f6f 100644 --- a/form/KVComboBox.js +++ b/form/KVComboBox.js @@ -71,5 +71,12 @@ Ext.define('Proxmox.form.KVComboBox', { } me.callParent(); + }, + + setComboItems: function(items) { + var me = this; + + me.getStore().setData(items); } + });