ui: dc/options: use proxmoxNetworkSelector for network

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2019-07-10 14:38:49 +02:00
parent c195a3c2d6
commit 6619af8d4f

View File

@ -96,12 +96,13 @@ Ext.define('PVE.dc.OptionView', {
submitValue: true, submitValue: true,
vtype: 'IPCIDRAddress' vtype: 'IPCIDRAddress'
}, { }, {
xtype: 'textfield', xtype: 'proxmoxNetworkSelector',
name: 'network', name: 'network',
fieldLabel: gettext('Network'), fieldLabel: gettext('Network'),
vtype: 'IPCIDRAddress', value: '',
emptyText: Proxmox.Utils.defaultText, emptyText: Proxmox.Utils.defaultText,
value: '' autoSelect: false,
skipEmptyText: true
}] }]
}); });
me.add_inputpanel_row('ha', gettext('HA Settings'), { me.add_inputpanel_row('ha', gettext('HA Settings'), {