Skip to content

Commit

Permalink
Further virtual keyboard tweak for QfSearchBar
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Oct 2, 2024
1 parent 36f6e29 commit 81ea4d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/qml/RelationCombobox.qml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Item {
height: childrenRect.height

onSearchTermChanged: {
featureListModel.setSearchTerm(searchTerm);
featureListModel.searchTerm = searchTerm;
}

onReturnPressed: {
Expand Down
1 change: 1 addition & 0 deletions src/qml/imports/Theme/QfSearchBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
}
Expand Down

1 comment on commit 81ea4d6

@qfield-fairy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.