RXNT / react-jsonschema-form-conditionals

react-jsonschema-form-conditionals

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

toanqc opened this issue · comments

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?