Ext.define('PVE.form.FirewallPolicySelector', {
- extend: 'PVE.form.KVComboBox',
+ extend: 'Proxmox.form.KVComboBox',
alias: ['widget.pveFirewallPolicySelector'],
-
- initComponent: function() {
- var me = this;
-
- me.data = [
- ['ACCEPT', 'ACCEPT'],
+ comboItems: [
+ ['ACCEPT', 'ACCEPT'],
['REJECT', 'REJECT'],
- [ 'DROP', 'DROP']
- ];
-
- me.callParent();
- }
+ ['DROP', 'DROP'],
+ ],
});