search: disable autocorrection
Changelog-Fixed: Disable autocorrection on search
This commit is contained in:
@@ -19,6 +19,7 @@ struct SearchHomeView: View {
|
|||||||
TextField("", text: $search)
|
TextField("", text: $search)
|
||||||
.padding(8)
|
.padding(8)
|
||||||
.padding(.leading, 35)
|
.padding(.leading, 35)
|
||||||
|
.autocorrectionDisabled(true)
|
||||||
.textInputAutocapitalization(.never)
|
.textInputAutocapitalization(.never)
|
||||||
Label("", systemImage: "xmark.square")
|
Label("", systemImage: "xmark.square")
|
||||||
.padding(EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 10.0))
|
.padding(EdgeInsets(top: 0.0, leading: 0.0, bottom: 0.0, trailing: 10.0))
|
||||||
|
|||||||
Reference in New Issue
Block a user