* [PATCH manager] sdn: fabrics: fix wireguard node "Allowed IPs" setValue
@ 2026-05-19 15:44 Gabriel Goller
0 siblings, 0 replies; only message in thread
From: Gabriel Goller @ 2026-05-19 15:44 UTC (permalink / raw)
To: pve-devel; +Cc: David Riley
The setValue function on the "Allowed IPs" field on the wireguard fabric
node did not get removed correctly. When removing the content, we use
setRawValue, which only sets the displayed text and bypasses the form
change checks. Copied the fix from form/BandwidthSelector.js, looks a
bit ugly though because this is a named subclass, so callParent()
doesn't work.
Reported-by: David Riley <d.riley@proxmox.com>
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
www/manager6/sdn/fabrics/wireguard/NodeEdit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/manager6/sdn/fabrics/wireguard/NodeEdit.js b/www/manager6/sdn/fabrics/wireguard/NodeEdit.js
index 9c9d2ce90bc3..ba5899cb9f1b 100644
--- a/www/manager6/sdn/fabrics/wireguard/NodeEdit.js
+++ b/www/manager6/sdn/fabrics/wireguard/NodeEdit.js
@@ -79,7 +79,7 @@ Ext.define('PVE.sdn.Fabric.WireGuard.Node.Edit', {
value = value.join(', ');
}
- this.setRawValue(value);
+ return Ext.form.field.Text.prototype.setValue.call(this, value);
},
getSubmitValue: function () {
let value = this.getValue();
--
2.47.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-19 15:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 15:44 [PATCH manager] sdn: fabrics: fix wireguard node "Allowed IPs" setValue Gabriel Goller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox