Try fix profile editor
This commit is contained in:
@@ -47,8 +47,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.font(Font.system(.caption2, design: .monospaced))
|
.font(Font.system(.caption2, design: .monospaced))
|
||||||
.autocorrectionDisabled()
|
.autocorrectionDisabled(true)
|
||||||
|
// https://stackoverflow.com/questions/66721935/swiftui-how-to-disable-the-smart-quotes-in-texteditor
|
||||||
|
// https://stackoverflow.com/questions/74034171/textfield-with-autocorrectiondisabled-still-shows-predictive-text-bar
|
||||||
|
.textContentType(.init(rawValue: ""))
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
|
.keyboardType(.asciiCapable)
|
||||||
.textInputAutocapitalization(.none)
|
.textInputAutocapitalization(.none)
|
||||||
.background(Color(UIColor.secondarySystemGroupedBackground))
|
.background(Color(UIColor.secondarySystemGroupedBackground))
|
||||||
#elseif os(macOS)
|
#elseif os(macOS)
|
||||||
|
|||||||
Reference in New Issue
Block a user