The missing `deleteEmtpy` attribute caused the fabric property to never
be removed from the EVPN controller. So when e.g. removing the fabric to
add the peers manually, there would always be an error because you can't
have peers *and* fabrics configured.

Signed-off-by: Gabriel Goller <g.gol...@proxmox.com>
---
 www/manager6/sdn/controllers/EvpnEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/sdn/controllers/EvpnEdit.js 
b/www/manager6/sdn/controllers/EvpnEdit.js
index cf879cda23ac..67c41f476f29 100644
--- a/www/manager6/sdn/controllers/EvpnEdit.js
+++ b/www/manager6/sdn/controllers/EvpnEdit.js
@@ -32,6 +32,7 @@ Ext.define('PVE.sdn.controllers.EvpnInputPanel', {
                 displayField: 'iface',
                 fieldLabel: 'SDN Fabric',
                 allowBlank: true,
+                deleteEmpty: true,
                 skipEmptyText: true,
                 autoSelect: false,
                 emptyText: gettext('used as underlay network'),
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to