mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
bbcc6fb3c2
commit
97c23d6ee5
1 changed files with 6 additions and 1 deletions
|
@ -35,6 +35,8 @@ Item {
|
||||||
id: login
|
id: login
|
||||||
text: manager.cloudUserName
|
text: manager.cloudUserName
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
inputMethodHints: Qt.ImhEmailCharactersOnly |
|
||||||
|
Qt.ImhNoAutoUppercase
|
||||||
}
|
}
|
||||||
|
|
||||||
MobileComponents.Label {
|
MobileComponents.Label {
|
||||||
|
@ -45,7 +47,10 @@ Item {
|
||||||
id: password
|
id: password
|
||||||
text: manager.cloudPassword
|
text: manager.cloudPassword
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
inputMethodHints: Qt.ImhEmailCharactersOnly
|
inputMethodHints: Qt.ImhEmailCharactersOnly |
|
||||||
|
Qt.ImhSensitiveData |
|
||||||
|
Qt.ImhHiddenText |
|
||||||
|
Qt.ImhNoAutoUppercase
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
GridLayout {
|
GridLayout {
|
||||||
|
|
Loading…
Add table
Reference in a new issue