-
Notifications
You must be signed in to change notification settings - Fork 312
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
Amplify register page in withAuthenticator component doesn't accommodate all settings in add auth manual configuration #4995
Comments
@CloudInnovator Are you using the Cognito Hosted UI to view the registration form, or are you using the Amplify Authenticator UI Component? |
Sending this issue to the UI repo for better assistance. |
@reesscot I am using Authenticator UI Component. |
Hi @CloudInnovator, See "All Attributes" code example here: Example of customizing the SignUp Fields with a checkbox: |
@reesscot Thank you very much. This should help my situation. That means I need a custom validator for validation, if I am right; however, in my thinking, validation for addresses is not very tight except for certain locales that have data for valid post codes/zip codes etc. Therefore, probably just a string is okay in the first instance or base configuration. |
@CloudInnovator Closing this out as it sounds like you got your question answered. Please open a new issue if you have further questions / issues! |
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.8.0
Amplify CLI Version
12.10.1
What operating system are you using?
Ubuntu
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
Amplify register page doesn't show Gender or Address label or text box after selection as requirements for registration from manual walkthorugh configuration in add auth, instead, it shows an error that
attributes did not conform to the schema: address: The attribute is required
upon pressing submit button. This error is catastrophic because elements required at sign up can't be changed. Removing auth itself requires removing other dependencies like Userpool,AdminQueries with with its API and function if present.Expected behavior
Should display all labels and textboxes/inputs required for signup at registration page as intended at signup configuration including Gender and Address.
Reproduction steps
amplify add auth
ures for images or other content, Analytics, and more).
Project Identifier
0068b6c1ac78a769ef78b377c531ffb5
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: