all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pdm-devel] [PATCH proxmox-datacenter-manager 1/1] ui: evpn: fix warnings when displaying vnet / zone status
@ 2025-12-03 10:21 Stefan Hanreich
  2025-12-03 14:04 ` Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Hanreich @ 2025-12-03 10:21 UTC (permalink / raw)
  To: pdm-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pdm-devel] [PATCH proxmox-datacenter-manager 1/1] ui: evpn: fix warnings when displaying vnet / zone status
  2025-12-03 10:21 [pdm-devel] [PATCH proxmox-datacenter-manager 1/1] ui: evpn: fix warnings when displaying vnet / zone status Stefan Hanreich
@ 2025-12-03 14:04 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2025-12-03 14:04 UTC (permalink / raw)
  To: pdm-devel, Stefan Hanreich

On Wed, 03 Dec 2025 11:21:04 +0100, Stefan Hanreich wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] ui: evpn: fix warnings when displaying vnet / zone status
      commit: 56d42d8cda3467cc32e98633b817be6bbbdec48c


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-03 14:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-03 10:21 [pdm-devel] [PATCH proxmox-datacenter-manager 1/1] ui: evpn: fix warnings when displaying vnet / zone status Stefan Hanreich
2025-12-03 14:04 ` Thomas Lamprecht

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