Skip to main content

secure_field

Function secure_field 

Source
pub fn secure_field<S: Binding<String>>(value: S) -> TextField<S>
Expand description

A password field: a text_field that hides its characters and tells the platform it holds a password, so the password manager offers to fill it (docs/textfield.md).

It is the same piece, so every text_field builder applies. .secure(shown) with a signal makes a show-password switch; .input_purpose(InputPurpose::NewPassword) marks a sign-up form’s field.

Day API ↩ Guides· daybrite.dev