From 3c739780bb179167af0203b430fd3b685fbb2477 Mon Sep 17 00:00:00 2001 From: Drew Olbrich Date: Sat, 9 Feb 2019 16:50:07 -0800 Subject: [PATCH] Set textContentType correctly for text fields --- Examples/CodeExample/SignUpViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples/CodeExample/SignUpViewController.swift b/Examples/CodeExample/SignUpViewController.swift index b7c1ad7..fd7bed9 100644 --- a/Examples/CodeExample/SignUpViewController.swift +++ b/Examples/CodeExample/SignUpViewController.swift @@ -87,6 +87,7 @@ class SignUpViewController: ScrollingContentViewController { // swiftlint:disable:next function_parameter_count private func configureTextField(_ textField: UITextField, placeholder: String?, textContentType: UITextContentType?, autocapitalizationType: UITextAutocapitalizationType, returnKeyType: UIReturnKeyType, keyboardType: UIKeyboardType, isSecureTextEntry: Bool) { textField.placeholder = placeholder + textField.textContentType = textContentType textField.autocapitalizationType = autocapitalizationType textField.autocorrectionType = .no textField.smartDashesType = .no