You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Trivial copy-paste error that leads to the same string being used as a label and as a placeholder in the require attributes from Cognito.
To Reproduce
Add given_name as a required attribute to a Cognito user pool.
Initialize those attribute as empty, so that when a user logs in, he gets prompted the required attributes (including given_name)
Check that the same string is used as the label and as the placeholder of the given_name required attribute.
Expected behavior
Two different strings should be used for the label and the placeholder.
Describe the bug
Trivial copy-paste error that leads to the same string being used as a label and as a placeholder in the require attributes from Cognito.
To Reproduce
given_name
as a required attribute to a Cognito user pool.given_name
)given_name
required attribute.Expected behavior
Two different strings should be used for the label and the placeholder.
Code Snippet
The bug is here https://github.com/aws-amplify/amplify-js/blob/main/packages/amplify-ui-components/src/common/helpers.ts at line
131
.The text was updated successfully, but these errors were encountered: