How do you set errors that are non-field specific? #4757
Unanswered
matthew-dean
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The API has
setFieldError
andsetErrors
, the latter of which is also defined as being field-specific. But it's often the case that the backend may return a general error that is not specific to any field, BUT there's a need to have a single "point of truth" for all errors. Is there a simple way to combine "general" errors and form-specific errors?Beta Was this translation helpful? Give feedback.
All reactions