File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ private struct AllRuntimeObjectsView: View {
143143 }
144144 . id ( runtimeObjects) // don't try to diff the List
145145 . searchable ( text: $viewModel. searchString)
146+ . autocorrectionDisabled ( ) // turn of auto-correct for the search field
146147 . searchScopes ( $viewModel. searchScope) {
147148 Text ( " All " )
148149 . tag ( RuntimeTypeSearchScope . all)
Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ struct ImageClassPicker: View {
127127 }
128128 . id ( runtimeObjects) // don't try to diff the List
129129 . searchable ( text: $viewModel. searchString)
130+ . autocorrectionDisabled ( ) // turn of auto-correct for the search field
130131 }
131132 case . loadError( let error) :
132133 StatusView {
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ struct NamedNodeView: View {
4242 }
4343 }
4444 . searchable ( text: $searchText)
45+ . autocorrectionDisabled ( ) // turn of auto-correct for the search field
4546 . navigationTitle ( ( node. name. isEmpty && node. parent == nil ) ? " / " : node. name)
4647 }
4748
You can’t perform that action at this time.
0 commit comments