Skip to content

Invalid form instance when extending DVR validator #579

@Nodios

Description

@Nodios

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions