Skip to content

Schema Validation Just Stopped Working #1256

Answered by radekmie
chiester asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @chiester. I think the onValidate part got answered in #1257, and this part is clear (if not, let's continue there).

When it comes to ErrorField, it displays the errors using the bridge's getError, i.e., it extracts the field error out of the form error. To make your custom error renders in there, you'd need to make sure the error matches the format of your bridge's errors. For example, the JSON Schema bridge works using the details field.

(Side note: if possible, please edit the first message rather than adding multiple ones, as it's easier to follow the threads then.)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by radekmie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants