diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-12-27 12:19:51 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-12-27 12:19:51 -0800 |
commit | 97c23d6ee5e8ca03c7dfafe35bf7491f73ef9d4e (patch) | |
tree | 00fe95b433ffc7a4c95fe09378bcf371367a5a2a /qt-mobile/qml | |
parent | bbcc6fb3c2af0801f2bddde396230b11dc091ab3 (diff) | |
download | subsurface-97c23d6ee5e8ca03c7dfafe35bf7491f73ef9d4e.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml')
-rw-r--r-- | qt-mobile/qml/CloudCredentials.qml | 7 |
1 files changed, 6 insertions, 1 deletions
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 { |