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>
This commit is contained in:
Dirk Hohndel 2015-12-27 12:19:51 -08:00
parent bbcc6fb3c2
commit 97c23d6ee5

View file

@ -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 {