From 703c3de880d16949981fc5d35e9328c3ef80a62d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 5 Dec 2015 06:27:06 -0800 Subject: QML-UI: mark email entry field as such I hoped that this would show the "email keyboard" on Android that includes the '@' sign without having to switch layers but that didn't seem to work. I'll leave this here, anyway, as it seems like the right thing to do since this input field is indeed for an email address. Signed-off-by: Dirk Hohndel --- qt-mobile/qml/CloudCredentials.qml | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-mobile/qml') diff --git a/qt-mobile/qml/CloudCredentials.qml b/qt-mobile/qml/CloudCredentials.qml index fafa26091..aa85f1fa5 100644 --- a/qt-mobile/qml/CloudCredentials.qml +++ b/qt-mobile/qml/CloudCredentials.qml @@ -42,6 +42,7 @@ Item { id: password text: manager.cloudPassword echoMode: TextInput.Password + inputMethodHints: Qt.ImhEmailCharactersOnly Layout.fillWidth: true } GridLayout { -- cgit v1.2.3-70-g09d2