[pdm-devel] [PATCH datacenter-manager 2/5] ui: remote edit: add missing key for displayfield

Dominik Csapak d.csapak at proxmox.com
Fri Jan 10 11:21:39 CET 2025


necessary for yews dom-diff algorithm to work properly

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 ui/src/remotes/edit_remote.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ui/src/remotes/edit_remote.rs b/ui/src/remotes/edit_remote.rs
index ecdb7d5..61608d2 100644
--- a/ui/src/remotes/edit_remote.rs
+++ b/ui/src/remotes/edit_remote.rs
@@ -78,7 +78,10 @@ fn edit_remote_input_panel(_form_ctx: &FormContext, remote_id: &str) -> Html {
         .class(FlexFit)
         .padding(4)
         .width("auto")
-        .with_field(tr!("Remote ID"), DisplayField::new(remote_id.to_string()))
+        .with_field(
+            tr!("Remote ID"),
+            DisplayField::new(remote_id.to_string()).key("remote-id"),
+        )
         .with_field(
             tr!("User/Token"),
             Field::new()
-- 
2.39.5





More information about the pdm-devel mailing list