ios: don't autocorrect or capitalize the search fields, so the Search key searches what was typed

The keyboard replaced "cinews" with "Cinema" when the Search key submitted it, so the directory searched for the wrong text; names and links typed there are not words.

Run: 011-search-redesign, slice 3 (fix found by the simulator run)
This commit is contained in:
spacedandy-agents-simplex committed 2026-10-21 00:59:34 +00:00
1 parent 45187c7c30
commit fca9f92702
2 files changed
+4

No files matched your search

@@ -872,6 +872,8 @@ struct ChatListSearchBar: View {
.disabled(searchShowingSimplexLink)
.focused($searchFocussed)
.frame(maxWidth: .infinity)
.autocorrectionDisabled(true)
.textInputAutocapitalization(.never)
.submitLabel(.search)
.onSubmit(runDirectorySearch)
if connectProgressManager.showConnectProgress != nil {
@@ -439,6 +439,8 @@ struct ContactsListSearchBar: View {
.disabled(searchShowingSimplexLink)
.focused($searchFocussed)
.frame(maxWidth: .infinity)
.autocorrectionDisabled(true)
.textInputAutocapitalization(.never)
.submitLabel(onSearch == nil ? .return : .search)
.onSubmit { onSearch?() }
if connectProgressManager.showConnectProgress != nil {