Replies: 2 comments
-
bump |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1. Setting the disabled prop in all controllers is unwieldy. Maybe we could have a field |
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
-
With the introduction of
disabled
inuseForm
, it is possible to disable the entire form with:However, the "form is submitting" state seems to be best to be tracked with
formState.isSubmitting
and obviously, this does NOT workSo am I better off having a separate
disabled
state as illustrated in https://github.com/react-hook-form/react-hook-form/releases/tag/v7.48.0?Or should I simply set the
disabled
prop of everyController
?Beta Was this translation helpful? Give feedback.
All reactions