Replies: 2 comments 1 reply
-
|
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.
1 reply
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.
-
With the introduction of
disabledinuseForm, it is possible to disable the entire form with:However, the "form is submitting" state seems to be best to be tracked with
formState.isSubmittingand obviously, this does NOT workSo am I better off having a separate
disabledstate as illustrated in https://github.com/react-hook-form/react-hook-form/releases/tag/v7.48.0?Or should I simply set the
disabledprop of everyController?Beta Was this translation helpful? Give feedback.
All reactions