Replies: 1 comment
-
|
Hello. Currently, there is no way to re-execute the conditions via any form API. It is entirely dependent on the state updates. You could "cheat" and change the form renderer component I'll move this topic to an issue and we can explore some new API to allow this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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:
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 callrestart(), 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
field2set tonulland it is not.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions