From 9c2e3b9c1caaaa9649a2ee14350cf39864f10973 Mon Sep 17 00:00:00 2001 From: Mathieu Pellerin Date: Tue, 1 Oct 2024 21:40:04 +0700 Subject: [PATCH] Further virtual keyboard tweak for QfSearchBar --- src/qml/RelationCombobox.qml | 2 +- src/qml/imports/Theme/QfSearchBar.qml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/qml/RelationCombobox.qml b/src/qml/RelationCombobox.qml index 679d05fa20..e74dc4380d 100644 --- a/src/qml/RelationCombobox.qml +++ b/src/qml/RelationCombobox.qml @@ -99,7 +99,7 @@ Item { height: childrenRect.height onSearchTermChanged: { - featureListModel.setSearchTerm(searchTerm); + featureListModel.searchTerm = searchTerm; } onReturnPressed: { diff --git a/src/qml/imports/Theme/QfSearchBar.qml b/src/qml/imports/Theme/QfSearchBar.qml index 75f7eb2306..803ec4665b 100644 --- a/src/qml/imports/Theme/QfSearchBar.qml +++ b/src/qml/imports/Theme/QfSearchBar.qml @@ -55,6 +55,7 @@ Item { anchors.rightMargin: 4 height: 40 selectByMouse: true + inputMethodHints: Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase | Qt.ImhSensitiveData placeholderText: (!searchField.activeFocus && text === "" && displayText === "") ? searchBar.placeHolderText : "" background: Item { }