@@ -129,7 +129,10 @@ FocusScope {
132− onTextChanged: {
132+ onDisplayTextChanged: {
133+ // We use onDisplayTextChanged instead of onTextChanged because
134+ // displayText changes after text and if we did this before it
135+ // updated, we would use the wrong displayText for fakeLabel.
133 if (!isAlphanumeric && text.length >= 4) {
136 if (!isAlphanumeric && text.length >= 4) {
134 // hard limit of 4 for passcodes right now
137 // hard limit of 4 for passcodes right now
135 respond();
138 respond();