The missing `deleteEmtpy` attribute caused the fabric property to never
be removed. 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.

Fixes: https://bugzilla.proxmox.com/show_bug.cgi?id=6710
Signed-off-by: Gabriel Goller <g.gol...@proxmox.com>
---
 www/manager6/sdn/zones/VxlanEdit.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/sdn/zones/VxlanEdit.js 
b/www/manager6/sdn/zones/VxlanEdit.js
index 20e1c5bb7b00..43494deca233 100644
--- a/www/manager6/sdn/zones/VxlanEdit.js
+++ b/www/manager6/sdn/zones/VxlanEdit.js
@@ -54,6 +54,7 @@ Ext.define('PVE.sdn.zones.VxlanInputPanel', {
                 fieldLabel: 'SDN Fabric',
                 skipEmptyText: true,
                 allowBlank: true,
+                deleteEmpty: true,
                 autoSelect: false,
                 emptyText: gettext('used as underlay network'),
                 nodename: 'localhost',
-- 
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