Replies: 1 comment
-
After experimenting a bit, I realized that instead of
This fill rerenders the form when the value changes 🥳 |
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
-
Is there a way to trigger rerenders so that I can change the form fields based on the values of other fields?
I have an input that is changing its value using
useControlField
.Based on that input value, I want to
enable
anddisable
another input. For that, I'm getting the value of the first input usinggetValues().get("input-name")
The problem is that when an input changes its value, the whole form is not being rendered. Therefore, the field I'm intending to
disable
is not being refreshed.I have something like this:
Beta Was this translation helpful? Give feedback.
All reactions