start showing errors only after a 1st character has been typed
commit5ff5fa761f9bbc85b78c513365993213361ed147
authorLukáš Tinkl <lukas.tinkl@canonical.com>
dateFri 4 Sep 2015, 00:01 (11 years ago)
parent7b9f936
qml/Wizard/Pages/password-set.qml+3−1
@@ -100,7 +100,9 @@ LocalComponents.Page {
100100 echoMode: TextInput.Password
101101 onTextChanged: {
102102 if (confirmPhase) {
103− if (password !== root.password) {
103+ if (password.length == 0) {
104+ setInfo();
105+ } else if (password !== root.password) {
104106 setError(i18n.tr("Passwords do not match"))
105107 } else {
106108 setInfo(i18n.tr("Passwords match"))