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

Trigger xforms-value-changed after recomputation #669

Merged
merged 1 commit into from
May 6, 2022

Conversation

lognaturel
Copy link
Member

Closes #668

What has been done to verify that this works as intended?

Tests.

Why is this the best possible solution? Were any other approaches considered?

I don't see any alternatives without a big change in the structure of the code.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

I think this is low risk? It is a change in behavior but I don't think the current behavior is usable.

Do we need any specific form for testing your changes? If so, please attach one.

In this form, change the triggered calculations for the text fields to use point_name and point_type.

@lognaturel
Copy link
Member Author

Perhaps someone could be using the current behavior to save the prior value of a calculate before it updates. I'm not sure how to reason about that.

@seadowg seadowg merged commit 3b174ca into getodk:master May 6, 2022
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

Successfully merging this pull request may close these issues.

xforms-value-changed events fired before dependent calculations are recomputed
2 participants