Skip to content

FieldState with array of errors #71

Description

@Dodev-S

In our project we may have several errors even for a single input and we want to be able to show them all and separated. How would you do that? FieldState only has a single error property.
I know that I can make a validator that concatenates them in a single error with some separator and then split on it when visualizing, but that is not cool. Any ideas that would not require a lot of refactoring?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions