From 0cc99840e041ef5e31f443b8b9fd7ec9c8f7a701 Mon Sep 17 00:00:00 2001 From: Stefan Hanreich Date: Thu, 22 Feb 2024 17:40:47 +0100 Subject: [PATCH] sdn: evpn: allow empty primary exit node in zone form its broken since the change in semantics of the PUT endpoint [1] [1] https://git.proxmox.com/?p=pve-network.git;a=commit;h=3e3cafabaf955d53c4c2d4e346bf5c3a5c6d1852 Signed-off-by: Stefan Hanreich Originally-by: Alexandre Derumier --- www/manager6/sdn/zones/EvpnEdit.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js index a08faef2d..b4d982bd7 100644 --- a/www/manager6/sdn/zones/EvpnEdit.js +++ b/www/manager6/sdn/zones/EvpnEdit.js @@ -54,6 +54,8 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', { fieldLabel: gettext('Primary Exit Node'), multiSelect: false, autoSelect: false, + skipEmptyText: true, + deleteEmpty: !me.isCreate, }, { xtype: 'proxmoxcheckbox',