From 97c23d6ee5e8ca03c7dfafe35bf7491f73ef9d4e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sun, 27 Dec 2015 12:19:51 -0800 Subject: QML UI: cloud credential input: use text input hints We shouldn't auto-capitalize and the text should only be email address characters. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/CloudCredentials.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'qt-mobile/qml/CloudCredentials.qml') diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index cd82444fc..c2ebb88ab 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -35,6 +35,8 @@ Item { id: login text: manager.cloudUserName Layout.fillWidth: true + inputMethodHints: Qt.ImhEmailCharactersOnly | + Qt.ImhNoAutoUppercase } MobileComponents.Label { @@ -45,7 +47,10 @@ Item { id: password text: manager.cloudPassword echoMode: TextInput.Password - inputMethodHints: Qt.ImhEmailCharactersOnly + inputMethodHints: Qt.ImhEmailCharactersOnly | + Qt.ImhSensitiveData | + Qt.ImhHiddenText | + Qt.ImhNoAutoUppercase Layout.fillWidth: true } GridLayout { -- cgit v1.2.3-70-g09d2