Set textContentType correctly for text fields

This commit is contained in:
Drew Olbrich
2019-02-09 16:50:07 -08:00
parent 11f0492d37
commit 3c739780bb
@@ -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