From 4511a397638bdea8721dc2558c9ba54312e7fbf6 Mon Sep 17 00:00:00 2001 From: Lesley Norton Date: Wed, 22 Jun 2022 09:06:12 -0500 Subject: [PATCH] Fix IAA error messages on Android #3279 (#3804) --- nebula/ui/components/inAppAuth/VPNInAppAuthenticationInputs.qml | 2 +- src/ui/authenticationInApp/ViewAuthenticationStart.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nebula/ui/components/inAppAuth/VPNInAppAuthenticationInputs.qml b/nebula/ui/components/inAppAuth/VPNInAppAuthenticationInputs.qml index 025545d65c..96d551a9f1 100644 --- a/nebula/ui/components/inAppAuth/VPNInAppAuthenticationInputs.qml +++ b/nebula/ui/components/inAppAuth/VPNInAppAuthenticationInputs.qml @@ -44,7 +44,7 @@ ColumnLayout { Layout.fillWidth: true _placeholderText: _inputPlaceholderText Keys.onReturnPressed: col.submitInfo(textInput) - onTextChanged: if (hasError) hasError = false + onDisplayTextChanged: if (hasError) hasError = false } VPNPasswordInput { diff --git a/src/ui/authenticationInApp/ViewAuthenticationStart.qml b/src/ui/authenticationInApp/ViewAuthenticationStart.qml index 86edd1be49..dddfe76d3c 100644 --- a/src/ui/authenticationInApp/ViewAuthenticationStart.qml +++ b/src/ui/authenticationInApp/ViewAuthenticationStart.qml @@ -24,7 +24,7 @@ VPNInAppAuthenticationBase { _buttonEnabled: VPNAuthInApp.state === VPNAuthInApp.StateStart && activeInput().text.length !== 0 && !activeInput().hasError _buttonOnClicked: (inputText) => { VPNAuthInApp.checkAccount(inputText); } _buttonText: qsTrId("vpn.postAuthentication.continue") - _inputMethodHints: Qt.ImhEmailCharactersOnly | Qt.ImhNoAutoUppercase + _inputMethodHints: Qt.ImhEmailCharactersOnly | Qt.ImhNoAutoUppercase | Qt.ImhNoPredictiveText | Qt.ImhSensitiveData _inputPlaceholderText: VPNl18n.InAppSupportWorkflowSupportEmailFieldPlaceholder }