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.
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.