vlan edit: Forbid blank vlan raw device

Users certainly have to insert a vlan raw device when the textfield is enabled.
Currently, they only see `invalid network interface name "` when submitting.
Forbidding the blank field shows the problem earlier.

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
This commit is contained in:
Dominic Jäger 2021-02-08 13:41:34 +01:00 committed by Thomas Lamprecht
parent 7bff067a38
commit 418ec858aa

View File

@ -128,6 +128,7 @@ Ext.define('Proxmox.node.NetworkEdit', {
name: 'vlan-raw-device',
value: me.vlanrawdevicevalue,
disabled: me.disablevlanrawdevice,
allowBlank: false,
});
column2.push({