Replies: 1 comment
-
At the moment this isn't possible without an external i18n or a dictionary to map out your target names to labelled ones. I think this is fairly easy to implement so I will create an issue from it as an enhancement. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a cross-field global rule defined that validates the current field value against the target field value.
I need to reference the target field label in the message to give a more meaningful message, but can't figure out how to do it.
See this codesandbox for an example: https://codesandbox.io/s/vee-validate-cross-field-validation-forked-yik6xc
Look at the 'date_after' rule in main.js. Is there a way to replace 'target' in the message with the label of the target field?
Beta Was this translation helpful? Give feedback.
All reactions