-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
formFields not updated on state change #5679
Comments
Thanks for the reproduction repo. Investigating this behavior now |
The fix should be on Thanks for submitting feedback @xavierraffin |
It works @jordanranz! |
Please let me know when merged |
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Describe the bug
When using formFields on Amplify UI component, the field labels and placeholder are not recalculated when state change.
This prevents the usage of the component with advance i18n feature.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The lang of all fields should update.
Code Snippet
This is the type of code that doesn't work: (source: https://github.com/xavierraffin/fizz-demo/blob/bug-amplify/src/App.js)
My string file is (source: https://github.com/xavierraffin/fizz-demo/blob/bug-amplify/src/strings.js)
Screenshots
English is OK:
French is KO:
What is Configured?
Not really relevant but my conf is here:
https://github.com/xavierraffin/fizz-demo/blob/bug-amplify/example-aws-export.js
Additional context
Tested only in dev on Chrome
The text was updated successfully, but these errors were encountered: