all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pdm-devel@lists.proxmox.com
Subject: [pdm-devel] [PATCH proxmox-datacenter-manager 1/1] ui: evpn: fix warnings when displaying vnet / zone status
Date: Wed,  3 Dec 2025 11:21:04 +0100	[thread overview]
Message-ID: <20251203102106.101149-1-s.hanreich@proxmox.com> (raw)

Without setting a key for the combobox, the console will be littered
with warnings, everytime the status panel gets rendered:

  could not extract key from field

Avoid this by setting a key for the comboboxes.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
---
 ui/src/sdn/evpn/vnet_status.rs | 1 +
 ui/src/sdn/evpn/zone_status.rs | 1 +
 2 files changed, 2 insertions(+)

diff --git a/ui/src/sdn/evpn/vnet_status.rs b/ui/src/sdn/evpn/vnet_status.rs
index 58aa9e5d..4607d44c 100644
--- a/ui/src/sdn/evpn/vnet_status.rs
+++ b/ui/src/sdn/evpn/vnet_status.rs
@@ -206,6 +206,7 @@ impl LoadableComponent for VnetStatusComponent {
                 InputPanel::new().with_field(
                     tr!("Node"),
                     Combobox::new()
+                        .key("vnet-node-combobox")
                         .min_width(100)
                         .required(true)
                         .value(self.selected_node.clone())
diff --git a/ui/src/sdn/evpn/zone_status.rs b/ui/src/sdn/evpn/zone_status.rs
index ff6b68d7..f1687155 100644
--- a/ui/src/sdn/evpn/zone_status.rs
+++ b/ui/src/sdn/evpn/zone_status.rs
@@ -214,6 +214,7 @@ impl LoadableComponent for ZoneStatusComponent {
                 InputPanel::new().with_field(
                     tr!("Node"),
                     Combobox::new()
+                        .key("zone-node-combobox")
                         .min_width(100)
                         .required(true)
                         .value(self.selected_node.clone())
-- 
2.47.3


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


             reply	other threads:[~2025-12-03 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-03 10:21 Stefan Hanreich [this message]
2025-12-03 14:04 ` 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=20251203102106.101149-1-s.hanreich@proxmox.com \
    --to=s.hanreich@proxmox.com \
    --cc=pdm-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.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal