-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
Discussed in #1520
Originally posted by malloy045 November 4, 2025
TLDR: Is there a way to get conditions to re-execute on an ad-hoc basis?
Details:
We have schemas that contain conditions like this:
"condition": {
"when": "field1",
"is": "foo",
"then": {
"visible": false,
"set":
{
"field2": null
}
},
"else": {
"visible": true
}
}We also need to periodically refresh the forms to make sure the latest data is being displayed to the user. That is being done through a call to restart(). We are noticing that when we call restart(), the conditions on the fields are not being executed.
This makes sense since restart() is a final form construct, but is there anything within the DDF framework that we can leverage to also re-execute things like conditions?
In the example above, we are expecting to see field2 set to null and it is not.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels