* [PATCH proxmox-yew-comp] auth_edit_openid: Set password input type on key field
@ 2026-02-18 15:52 Maximiliano Sandoval
0 siblings, 0 replies; only message in thread
From: Maximiliano Sandoval @ 2026-02-18 15:52 UTC (permalink / raw)
To: yew-devel
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
---
src/auth_edit_openid.rs | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/auth_edit_openid.rs b/src/auth_edit_openid.rs
index e69199c..01f0552 100644
--- a/src/auth_edit_openid.rs
+++ b/src/auth_edit_openid.rs
@@ -7,7 +7,7 @@ use yew::html::{IntoEventCallback, IntoPropValue};
use yew::virtual_dom::{VComp, VNode};
use pwt::prelude::*;
-use pwt::widget::form::Field;
+use pwt::widget::form::{Field, InputType};
use pwt::widget::InputPanel;
use crate::form::delete_empty_values;
@@ -128,7 +128,12 @@ fn render_input_form(form_ctx: FormContext, props: AuthEditOpenID) -> Html {
.name("scopes")
.placeholder(tr!("Default") + " (" + &tr!("email profile") + ")"),
)
- .with_field(tr!("Client Key"), Field::new().name("client-key"))
+ .with_field(
+ tr!("Client Key"),
+ Field::new()
+ .input_type(InputType::Password)
+ .name("client-key"),
+ )
.with_right_field(
tr!("Prompt"),
Combobox::new()
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-18 15:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-18 15:52 [PATCH proxmox-yew-comp] auth_edit_openid: Set password input type on key field Maximiliano Sandoval
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.