Replies: 1 comment 1 reply
-
Hi there, this code is in validation.ts. It is entirely possible for you to write your own makeValidation function that does exactly what you want? Happy to accept a PR too. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
currently I can only access the ${path} placeholder in yup error messages which is the same as the field name.
The problem is, that the name of an input is hardcoded and should not be localized.
This results in half translated error messages.
I already checked if there is an ${label} placeholder but its undefined.
@lookfirst
Could you pass the label instead of the name to the path if its set or having a another label placeholder?
Have a good day!
Beta Was this translation helpful? Give feedback.
All reactions