Set AutocorrectionType on the UITextField if it has been created.