You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
right now to register a new rule you have to call Validator.register() and the rule is available in a new Validator instance.
But I have an issue when registering multiple rule functions with same key/name, the functions takes in input the arguments of the last registered rule.
Would be nice to have the ability to create specific rules for each validator instance.
Something like this:
Hello,
right now to register a new rule you have to call
Validator.register()
and the rule is available in a new Validator instance.But I have an issue when registering multiple rule functions with same key/name, the functions takes in input the arguments of the last registered rule.
Would be nice to have the ability to create specific rules for each validator instance.
Something like this:
Related Issue: foxhound87/mobx-react-form#579
The text was updated successfully, but these errors were encountered: