Skip to content

Did errors changed? #1284

Answered by Balastrong
megacherry asked this question in Q&A
Mar 15, 2025 · 3 comments · 11 replies
Discussion options

You must be logged in to vote

Yes, we were previously only returning the message field of Standard Schema errors, while now you have control over the entire error object.

This should bring back the old behaviour:

-field.state.meta.errors.join(',')
+field.state.meta.errors.map(error => error.message).join(',')

Replies: 3 comments 11 replies

Comment options

You must be logged in to vote
7 replies
@craigmcc
Comment options

@Balastrong
Comment options

@craigmcc
Comment options

@Balastrong
Comment options

@craigmcc
Comment options

Answer selected by megacherry
Comment options

You must be logged in to vote
2 replies
@ahmafi
Comment options

@craigmcc
Comment options

Comment options

You must be logged in to vote
2 replies
@craigmcc
Comment options

@kusiewicz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants