-
Any idea why schema validation would just stop working? Async validation via |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Also, it's still not clear to me how to get error or validation messages back to ErrorField from either sync or async validation to present in the UI. |
Beta Was this translation helpful? Give feedback.
-
If I remove |
Beta Was this translation helpful? Give feedback.
-
Hi @chiester. I think the When it comes to (Side note: if possible, please edit the first message rather than adding multiple ones, as it's easier to follow the threads then.) |
Beta Was this translation helpful? Give feedback.
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'sgetError
, 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 thedetails
field.(Side note: if possible, please edit the first message rather than adding multiple ones, as it's easier to follow the threads then.)