feat(GODT-2996): set password fields to hidden when resetting the login form.
This commit is contained in:
parent
42e1dd4c41
commit
acc7ca8d4a
|
@ -114,6 +114,9 @@ FocusScope {
|
|||
function getText(start, end) {
|
||||
control.getText(start, end);
|
||||
}
|
||||
function hidePassword() {
|
||||
eyeButton.checked = false;
|
||||
}
|
||||
function insert(position, text) {
|
||||
control.insert(position, text);
|
||||
}
|
||||
|
@ -147,6 +150,9 @@ FocusScope {
|
|||
function selectWord() {
|
||||
control.selectWord();
|
||||
}
|
||||
function showPassword() {
|
||||
eyeButton.checked = true;
|
||||
}
|
||||
function undo() {
|
||||
control.undo();
|
||||
}
|
||||
|
|
|
@ -44,6 +44,8 @@ FocusScope {
|
|||
} else {
|
||||
passwordTextField.forceActiveFocus();
|
||||
}
|
||||
passwordTextField.hidePassword();
|
||||
secondPasswordTextField.hidePassword();
|
||||
}
|
||||
|
||||
StackLayout {
|
||||
|
|
Loading…
Reference in New Issue