Dynamic field base on other field #10591
Unanswered
aliakbarazizi
asked this question in
Q&A
Replies: 2 comments
-
Rec.0016.mp4 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found out i can fix this by adding here is example that working but still is this the good way to do this? or there is a better way? |
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
-
I try toggle form base on other fields (checkbox or radio)
But the form act very weird and I don't understand what I'm missing here
For example look at this example
https://codesandbox.io/s/react-hook-form-watch-v7-ts-forked-lwnpz7?file=%2Fsrc%2Findex.tsx
If you fill
field1
value, then toggle checkbox, the value forfield2
is same asfield1
, but it should be new field without any value.I think i missing something important here but I can't find anything in document, can anyone tell me whats going on?
Beta Was this translation helpful? Give feedback.
All reactions