fix(CreatePassword): evaluation added on text changed

Closes #5734
This commit is contained in:
Alexandra Betouni 2022-05-18 17:30:00 +03:00 committed by Alexandra Betouni
parent 0417105a03
commit 198da4fdc6
1 changed files with 2 additions and 1 deletions

View File

@ -311,7 +311,8 @@ Column {
textField.rightPadding: showHideConfirmIcon.width + showHideConfirmIcon.anchors.rightMargin + Style.current.padding / 2
onTextChanged: {
if(textField.text.length === newPswInput.text.length || textField.text.length === 0) {
d.passwordValidation();
if(textField.text.length === newPswInput.text.length) {
root.checkPasswordMatches()
}
}