Skip to content

Improve Form Validation errors #78

Description

@ceceppa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions