diff --git a/enzevalos_iphone/SwiftUI/AccountSetup/AccountSetupView.swift b/enzevalos_iphone/SwiftUI/AccountSetup/AccountSetupView.swift index 85f3881cbbfd80d0b3e436dac98b9c0a3e11c027..e58378fcf96dc85ea49ff04ff30ae020142165bd 100644 --- a/enzevalos_iphone/SwiftUI/AccountSetup/AccountSetupView.swift +++ b/enzevalos_iphone/SwiftUI/AccountSetup/AccountSetupView.swift @@ -209,6 +209,7 @@ struct AccountSetupView: View { .clipShape(RoundedRectangle(cornerRadius: 8)) .shadow(radius: 8) .keyboardType(.default) + .autocapitalization(.none) } else { TextField(label, text: $password) .padding(EdgeInsets(top: 8, leading:10, bottom: 8, trailing: 0)) @@ -217,6 +218,7 @@ struct AccountSetupView: View { .clipShape(RoundedRectangle(cornerRadius: 8)) .shadow(radius: 8) .keyboardType(.default) + .autocapitalization(.none) } Button(action: { self.securePasswordInput.toggle() @@ -249,6 +251,7 @@ struct AccountSetupView: View { func inputField(label: String, defaultValue: String, variable: Binding<String>, keyboardType: UIKeyboardType) -> some View { TextField(label, text: variable) .keyboardType(keyboardType) + .autocapitalization(.none) .padding(EdgeInsets(top: 8, leading:10, bottom: 8, trailing: 10)) .background(Color.white) .foregroundColor(Color.black) @@ -269,6 +272,8 @@ struct AccountSetupView: View { .clipShape(RoundedRectangle(cornerRadius: 8)) .shadow(radius: 8) .keyboardType(keyboardType) + .autocapitalization(.none) + } .padding(bigspace)