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

Move handling of clearOnHide property from evaluate_form_logic to PropertyAction #5134

Open
viktorvanwijk opened this issue Mar 4, 2025 · 1 comment

Comments

@viktorvanwijk
Copy link
Contributor

viktorvanwijk commented Mar 4, 2025

Part of #5117, see comment.

This will enable tracking of variable changes during instead of after logic evaluation.

@viktorvanwijk
Copy link
Contributor Author

viktorvanwijk commented Mar 5, 2025

This is not straightforward, unfortunately. Problems:

Perhaps something to look into: for components with the clearOnHide property set, we create a special logic rule with a corresponding action that will always be evaluated. This means we can move handling of the property to PropertyAction.eval. Not sure yet about implementation details, though.

@joeribekker joeribekker added this to the Release 3.2.0 milestone Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In Progress
Development

No branches or pull requests

2 participants