From: Gabriel Goller <g.goller@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: David Riley <d.riley@proxmox.com>
Subject: [PATCH manager] sdn: fabrics: fix wireguard node "Allowed IPs" setValue
Date: Tue, 19 May 2026 17:44:32 +0200 [thread overview]
Message-ID: <20260519154528.53144-1-g.goller@proxmox.com> (raw)
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
next reply other threads:[~2026-05-19 15:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 15:44 Gabriel Goller [this message]
2026-05-19 19:17 ` applied: [PATCH manager] sdn: fabrics: fix wireguard node "Allowed IPs" setValue Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260519154528.53144-1-g.goller@proxmox.com \
--to=g.goller@proxmox.com \
--cc=d.riley@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.