Replies: 1 comment
-
You didn't miss anything. You cannot specify the rule multiple times as the later definitions would override the old ones. Only workaround I can think of is you could add a custom rule to apply the multiple definitions in its logic. |
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.
-
When using an object expression for rules, I have hit some places where I need to define my custom "dateBefore" rule more than just one time, as I need to check that it's before multiple other date fields, but because the expression is an object, I can't repeat the rule. Is there a way to do this with v3? I'm hoping I've just missed something in the docs.
https://vee-validate.logaretm.com/v3/advanced/rules-object-expression.html#defining-rules
Beta Was this translation helpful? Give feedback.
All reactions