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
-
normalizeRules
utility is exposed, andRuleExpression
type is exposed.The description of
normalizeRules
saysbut it cant accept all the
RuleExpression
.Use case:
I want to receive
required
as 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
RuleExpression
format, normalize it vianormalizeRules
utility and just mixrequired
rule in it if it present.But i cant, because
normalizeRules
doesnt support it, then what is it for anyway?Beta Was this translation helpful? Give feedback.
All reactions