Skip to content
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

Improve Form Validation errors #78

Open
5 tasks
ceceppa opened this issue Nov 9, 2022 · 0 comments
Open
5 tasks

Improve Form Validation errors #78

ceceppa opened this issue Nov 9, 2022 · 0 comments

Comments

@ceceppa
Copy link
Member

ceceppa commented Nov 9, 2022

At the moment, AMA prints something like:

❌ [ AMA ]: NO_UNDEFINED - The form validation has failed, but no component with an error was found
❌ [ AMA ]: NO_UNDEFINED - No next field found. Make sure you wrap your form inside the <Form /> component
  • Fix typos
  • Replace NO_UNDEFINED with a Form related error code
  • Add a link to the documentation
  • Suggest usage of wrapping error message with <Form.Field hasError={true} />
  • Add an example for the point above in the documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant