-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[V4] Setting multiple errors for one field #3117
Copy link
Copy link
Closed
Labels
requestThis issue is a request by its authorThis issue is a request by its author✨ enhancementa "nice to have" featurea "nice to have" feature🐣 good for beginnersa good first-issue to tacklea good first-issue to tackle
Description
Activity
Metadata
Metadata
Assignees
Labels
requestThis issue is a request by its authorThis issue is a request by its author✨ enhancementa "nice to have" featurea "nice to have" feature🐣 good for beginnersa good first-issue to tacklea good first-issue to tackle
Is there a way to set multiple errors to one field manually? In V3 I was able to do it by passing an array of errors.
For example, something like this:
setErrors({field:['error 1', 'error 2']})
Thanks!