From: Maximiliano Sandoval <m.sandoval@proxmox.com>
To: yew-devel@lists.proxmox.com
Subject: [PATCH proxmox-yew-comp] auth_edit_openid: Set password input type on key field
Date: Wed, 18 Feb 2026 16:52:26 +0100 [thread overview]
Message-ID: <20260218155246.423365-1-m.sandoval@proxmox.com> (raw)
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
reply other threads:[~2026-02-18 15:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260218155246.423365-1-m.sandoval@proxmox.com \
--to=m.sandoval@proxmox.com \
--cc=yew-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox