Rename password method in TextInput to secure
This commit is contained in:
parent
5827023ccc
commit
9dd20ead08
3 changed files with 6 additions and 10 deletions
|
|
@ -613,11 +613,7 @@ impl<'a> Step {
|
|||
|
||||
Self::container("Text input")
|
||||
.push("Use a text input to ask for different kinds of information.")
|
||||
.push(if is_secure {
|
||||
text_input.password()
|
||||
} else {
|
||||
text_input
|
||||
})
|
||||
.push(text_input.secure(is_secure))
|
||||
.push(
|
||||
checkbox("Enable password mode", is_secure)
|
||||
.on_toggle(StepMessage::ToggleSecureInput),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue