You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Zod for the validation. In the minimal reproduction, since I provided two paths for the error, the message should appear on both fields. However, the error message only shows if only 1 path is specified.
Additional context
Logs
The text was updated successfully, but these errors were encountered:
The current behaviour is expected, the dot separator is used to identify nested validation rules, in arrays or objects for example. The PR you submitted would break these use cases if merged. I'd recommend using .superRefine to return two errors in your case.
Environment
Version
^2.19.2
Reproduction
https://stackblitz.com/edit/nuxt-ui-umrnyur4?file=app.vue
Description
I am using Zod for the validation. In the minimal reproduction, since I provided two paths for the error, the message should appear on both fields. However, the error message only shows if only 1 path is specified.
Additional context
Logs
The text was updated successfully, but these errors were encountered: