0.5.1: il campo Password nelle Impostazioni mostra/nasconde il testo (PasswordField + showEchoModeToggle)
This commit is contained in:
@@ -43,13 +43,14 @@ Page {
|
||||
onTextChanged: appSettings.username = text
|
||||
}
|
||||
|
||||
TextField {
|
||||
PasswordField {
|
||||
id: passField
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
label: qsTr("Password")
|
||||
text: appSettings.password
|
||||
echoMode: TextInput.Password
|
||||
// Icona nativa per mostrare/nascondere il testo digitato
|
||||
showEchoModeToggle: true
|
||||
onTextChanged: appSettings.password = text
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user