validationError with custom action data #219
Unanswered
thomasverleye
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
-
In my current use case it would be great to return a
validationError
with some extra data.The endpoint I'm using returns possibly some extra error messages which cannot be mapped onto any fields.
Consider following example:
Currently, if a user isn't using JS, this means the form will be cleared when an api error occurs.
I know this is an edge case but this edge case happens more then expected.
So it would be awesome to have a the ability to add extra data to the
validationError
function :-)Beta Was this translation helpful? Give feedback.
All reactions