mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-06-22 23:53:20 +00:00
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:
parent
7bff067a38
commit
418ec858aa
@ -128,6 +128,7 @@ Ext.define('Proxmox.node.NetworkEdit', {
|
|||||||
name: 'vlan-raw-device',
|
name: 'vlan-raw-device',
|
||||||
value: me.vlanrawdevicevalue,
|
value: me.vlanrawdevicevalue,
|
||||||
disabled: me.disablevlanrawdevice,
|
disabled: me.disablevlanrawdevice,
|
||||||
|
allowBlank: false,
|
||||||
});
|
});
|
||||||
|
|
||||||
column2.push({
|
column2.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user