Skip to content

doRunRules function run twice if I have some rules to modify the formData. #84

@toanqc

Description

@toanqc

So I have some rules that modify the formData of the JsonForm, e.g if I have the rule to copy the value from one property to another property in the formData, then I see that the doRunRules will run again since it compares the before-run-formData with the after-run-formData.

Line 56:

if (deepEquals(conf.formData, formData)) {

@mavarazy: Any idea why we're doing this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions