mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
Fix: no username autocapitalization (https://trello.com/c/T2ot7oWb)
This commit is contained in:
@@ -25,6 +25,7 @@ Item {
|
||||
|
||||
property string textFieldPlaceholderText
|
||||
property bool textFieldEditable: true
|
||||
property bool isAutoCapitalization: true
|
||||
|
||||
property string borderColor: "#2C2D30"
|
||||
property string borderFocusedColor: "#d7d8db"
|
||||
@@ -83,6 +84,7 @@ Item {
|
||||
font.pixelSize: 16
|
||||
font.weight: 400
|
||||
font.family: "PT Root UI VF"
|
||||
inputMethodHints: root.isAutoCapitalization ? Qt.ImhNone : Qt.ImhNoAutoUppercase
|
||||
|
||||
height: 24
|
||||
Layout.fillWidth: true
|
||||
|
||||
@@ -69,6 +69,7 @@ PageType {
|
||||
Layout.fillWidth: true
|
||||
headerText: qsTr("Login to connect via SSH")
|
||||
textFieldPlaceholderText: "root"
|
||||
isAutoCapitalization: false
|
||||
|
||||
KeyNavigation.tab: secretData.textField
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user