-
-
Notifications
You must be signed in to change notification settings - Fork 875
PFSignUpViewController Additional Field #1406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you |
Can you share your full |
Sure, I have a very simple subcalsss of PFSignUpViewController:
|
This issue has been automatically marked as stale because it has not had recent activity. If you believe it should stay open, please let us know! As always, we encourage contributions, check out the Contributing Guide |
Can you assign it to me? I want to help the project |
Sure 🙂 |
Thanks @TomWFox its my personal account, so I will fork and PR from this account. I will have a look today night/morning after my job |
I'm trying to capture users' full names at sign up. I've subclassed PFSignUpViewController and in viewDidLoad() I have the following:
self.fields = [.usernameAndPassword, .dismissButton, .signUpButton, .additional]
However when the SignUpViewController loads, only the username & password fields show up. I am able to make other customizations (button colors, background and logo images, etc.). At runtime, signUpView.additionalField is nil.
I also tried forcing the additional field to be enabled using
signUpView.additionalField.isEnabled = true
but this did not change anything. Interestingly, if I do this:
self.fields = [.dismissButton, .signUpButton, .additional]
The username and password fields still show up and the rawValue of signupView.fields does not change (the rawValue is 27 regardless of what I include in the fields array).
There isn't much documentation around this, so any help that can be provided would be awesome (and should probably be added to the documentation for future use).
The text was updated successfully, but these errors were encountered: