qml: don't use predictive text for fields where it makes no sense
This commit is contained in:
@@ -85,8 +85,12 @@ Pane {
|
||||
id: searchEdit
|
||||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 3
|
||||
|
||||
placeholderText: qsTr('search')
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
|
||||
onTextChanged: listview.filterModel.filterText = text
|
||||
|
||||
Image {
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
@@ -133,6 +133,7 @@ ElDialog {
|
||||
: constants.colorError
|
||||
}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Layout.fillWidth: true
|
||||
ElTextArea {
|
||||
@@ -142,6 +143,8 @@ ElDialog {
|
||||
Layout.minimumHeight: fontMetrics.lineSpacing * 4 + topPadding + bottomPadding
|
||||
font.family: FixedFont
|
||||
wrapMode: TextInput.Wrap
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
|
||||
background: PaneInsetBackground {
|
||||
baseColor: _verified == SignVerifyMessageDialog.Check.Unknown
|
||||
? constants.darkerDialogBackground
|
||||
|
||||
@@ -74,6 +74,7 @@ Item {
|
||||
TextField {
|
||||
id: address
|
||||
enabled: proxy_enabled_cb.checked
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
}
|
||||
|
||||
Label {
|
||||
@@ -84,6 +85,7 @@ Item {
|
||||
TextField {
|
||||
id: port
|
||||
enabled: proxy_enabled_cb.checked
|
||||
inputMethodHints: Qt.ImhDigitsOnly
|
||||
}
|
||||
|
||||
Label {
|
||||
@@ -94,6 +96,7 @@ Item {
|
||||
TextField {
|
||||
id: username_tf
|
||||
enabled: proxy_enabled_cb.checked
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
}
|
||||
|
||||
Label {
|
||||
|
||||
@@ -41,6 +41,7 @@ Item {
|
||||
id: address_tf
|
||||
enabled: !auto_server_cb.checked
|
||||
width: parent.width
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -51,6 +51,8 @@ WizardComponent {
|
||||
id: customwordstext
|
||||
Layout.fillWidth: true
|
||||
placeholderText: qsTr('Enter your custom word(s)')
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
|
||||
onTextChanged: checkValid()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ WizardComponent {
|
||||
visible: extendcb.checked
|
||||
Layout.fillWidth: true
|
||||
placeholderText: qsTr('Enter your custom word(s)')
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
}
|
||||
|
||||
Component.onCompleted : {
|
||||
|
||||
@@ -231,6 +231,8 @@ WizardComponent {
|
||||
Layout.fillWidth: true
|
||||
Layout.columnSpan: 2
|
||||
placeholderText: qsTr('Enter your custom word(s)')
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
|
||||
onTextChanged: startValidationTimer()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -171,6 +171,8 @@ WizardComponent {
|
||||
id: derivationpathtext
|
||||
Layout.fillWidth: true
|
||||
Layout.leftMargin: constants.paddingMedium
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
|
||||
onTextChanged: validate()
|
||||
}
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@ WizardComponent {
|
||||
id: wallet_name
|
||||
focus: true
|
||||
text: Daemon.suggestWalletName()
|
||||
inputMethodHints: Qt.ImhNoPredictiveText
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user