Skip to content
Snippets Groups Projects
Commit 46b25b7d authored by Oliver Wiese's avatar Oliver Wiese
Browse files

no autocapitialziation for any auth. field

parent d89fcd3b
Branches
Tags
2 merge requests!59Onboarding screens swift ui merge dev,!58Onboarding screens swift ui merge dev
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment