Replies: 1 comment
-
|
Converted to a discussion since it is not an issue. This is exposed for 3rd party libraries wanting access to the normalized rules data structure which is a bit optimized to prevent vee-validate from optimising it again. Useful for large forms, why would you need it to mix the What did you try and didn't work? |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
normalizeRulesutility is exposed, andRuleExpressiontype is exposed.The description of
normalizeRulessaysbut it cant accept all the
RuleExpression.Use case:
I want to receive
requiredas a separated prop in my component because I also need it for another logic.I also want to accept and use other rules in any available
RuleExpressionformat, normalize it vianormalizeRulesutility and just mixrequiredrule in it if it present.But i cant, because
normalizeRulesdoesnt support it, then what is it for anyway?Beta Was this translation helpful? Give feedback.
All reactions