on xenial help sign in
start showing errors only after a 1st character has been typed
5ff5fa7Lukáš Tinkl
qml/Wizard/Pages/password-set.qml+3−1
@@ -100,7 +100,9 @@ LocalComponents.Page {
100 echoMode: TextInput.Password
100 echoMode: TextInput.Password
101 onTextChanged: {
101 onTextChanged: {
102 if (confirmPhase) {
102 if (confirmPhase) {
103− if (password !== root.password) {
103+ if (password.length == 0) {
104+ setInfo();
105+ } else if (password !== root.password) {
104 setError(i18n.tr("Passwords do not match"))
106 setError(i18n.tr("Passwords do not match"))
105 } else {
107 } else {
106 setInfo(i18n.tr("Passwords match"))
108 setInfo(i18n.tr("Passwords match"))