Merge pull request #1752 from omnivore-app/fix/zh-keyboards
Fix for handling multiple language keyboards
This commit is contained in:
@ -114,10 +114,7 @@ struct CreateLabelView: View {
|
||||
.padding(.bottom, 8)
|
||||
|
||||
TextField("Label Name", text: $newLabelName)
|
||||
#if os(iOS)
|
||||
.keyboardType(.alphabet)
|
||||
#endif
|
||||
.textFieldStyle(StandardTextFieldStyle())
|
||||
.textFieldStyle(StandardTextFieldStyle())
|
||||
|
||||
ScrollView(.horizontal, showsIndicators: false) {
|
||||
LazyHGrid(rows: rows, alignment: .top, spacing: 20) {
|
||||
|
||||
@ -140,7 +140,6 @@ struct CreateProfileView: View {
|
||||
#if os(iOS)
|
||||
TextField("", text: $name)
|
||||
.textContentType(.name)
|
||||
.keyboardType(.alphabet)
|
||||
#elseif os(macOS)
|
||||
TextField("", text: $name)
|
||||
#endif
|
||||
|
||||
@ -131,7 +131,6 @@ struct EmailSignupFormView: View {
|
||||
.focused($focusedField, equals: .fullName)
|
||||
#if os(iOS)
|
||||
.textContentType(.name)
|
||||
.keyboardType(.alphabet)
|
||||
#endif
|
||||
.disableAutocorrection(true)
|
||||
.submitLabel(.next)
|
||||
@ -150,7 +149,6 @@ struct EmailSignupFormView: View {
|
||||
#if os(iOS)
|
||||
.textInputAutocapitalization(.never)
|
||||
.textContentType(.username)
|
||||
.keyboardType(.alphabet)
|
||||
#endif
|
||||
.disableAutocorrection(true)
|
||||
.submitLabel(.done)
|
||||
|
||||
Reference in New Issue
Block a user