You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/useform/formstate.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ This object contains information about the entire form state. It helps you to ke
32
32
|`isValidating`| <TypeText>boolean</TypeText> | Set to `true` during validation. |
33
33
|`validatingFields`| <TypeText>boolean</TypeText> | Capture fields which are getting async validation. |
34
34
|`errors`| <TypeText>object</TypeText> | An object with field errors. There is also an [ErrorMessage](/docs/useformstate/errormessage) component to retrieve error message easily. |
35
-
| `disabled` | <TypeText>boolean</TypeText> | Set to true if the form is disabled via the disabled prop in [useForm](/docs/useform).
36
-
|`isReady`| <TypeText>boolean</TypeText> | Set to true when `formState` subscription setup is ready. <CodeAreawithOutCopyrawData={`const {\n setValue,\n formState: { isReady }\n} = useForm();\n\nuseEffect(() => isReady && setValue('test', 'data'), [isReady])`}/> |
35
+
|`disabled`| <TypeText>boolean</TypeText> | Set to true if the form is disabled via the disabled prop in [useForm](/docs/useform).|
36
+
|`isReady`| <TypeText>boolean</TypeText> | Set to true when `formState` subscription setup is ready. <CodeAreawithOutCopyrawData={`const {\n setValue,\n formState: { isReady }\n} = useForm();\n\nuseEffect(() => isReady && setValue('test', 'data'), [isReady])`}/> |
0 commit comments