Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
toanqc opened this issue Aug 1, 2020 · 0 comments

Comments

@toanqc
Copy link

toanqc commented Aug 1, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant