If you have multiple forms instantiated, custom DVR rules registered, and if you pass in form instance to the rules, once validation kicks in, rules will receive invalid form instance. E.g. they will receive the instance of form that was last instantitated.
This is related to validatorjs. When you register new rules you are actually overriding the rule using the second form instance. I dont't know if this can be fixed due to the validatorjs lib limitation.
If you have multiple forms instantiated, custom DVR rules registered, and if you pass in form instance to the rules, once validation kicks in, rules will receive invalid form instance. E.g. they will receive the instance of form that was last instantitated.
Reproduction: https://stackblitz.com/edit/react-ybjhpf
See rules.js and inspect "form" property values.