check All when all ic checked and check all secondary when primary checked #10773
Unanswered
H4ckint0sh
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello everyone, here I want to check all checkboxes when all is checked and check all secondary checkboxes when primary is checked, for some reason my checked state is false when checkbox is checked and true when it is not. Any help is greatly appreciated.
https://codesandbox.io/s/build-react-hook-form-controller-component-from-scratch-forked-ym4r8w?file=/src/App.js
Beta Was this translation helpful? Give feedback.
All reactions