iOS: Disable autocorrection on URL bar
This commit is contained in:
parent
ef47b59aab
commit
d8e93e481d
@ -54,6 +54,8 @@ struct ContentView: View {
|
||||
private var urlBar: some View {
|
||||
TextField("URL", text: $urlFieldContents, onCommit: commitURL)
|
||||
.keyboardType(.URL)
|
||||
.autocapitalization(.none)
|
||||
.disableAutocorrection(true)
|
||||
.textFieldStyle(RoundedBorderTextFieldStyle())
|
||||
.padding([.leading, .trailing, .bottom])
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user