Skip to content

Accumulating all form validation errors #232

Answered by edmundhung
tamoreton asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tamoreton,

There is no easy way to gather all errors in one place at the moment. You will need to aggregate the error from individual field manually. (e.g. const allErrors = [].concat(form.errors, email.errors, password.errors)). But this is definitely a scenario I want to support. I will keep this in mind when I work on it (soon!). Thanks for raising this up :)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chopfitzroy
Comment options

@edmundhung
Comment options

@chopfitzroy
Comment options

Answer selected by tamoreton
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants