Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 608d8c1

Browse files
fix: correct formatting of disabled and isReady descriptions (#1137)
correct formatting of `disabled` and `isReady` descriptions which are failing the checks for release v7.56.0.
1 parent 5aae1a2 commit 608d8c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/content/docs/useform/formstate.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ This object contains information about the entire form state. It helps you to ke
3232
| `isValidating` | <TypeText>boolean</TypeText> | Set to `true` during validation. |
3333
| `validatingFields` | <TypeText>boolean</TypeText> | Capture fields which are getting async validation. |
3434
| `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. <CodeArea withOutCopy rawData={`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. <CodeArea withOutCopy rawData={`const {\n setValue,\n formState: { isReady }\n} = useForm();\n\nuseEffect(() => isReady && setValue('test', 'data'), [isReady])`}/> |
3737

3838
<Admonition type="important" title="Rules">
3939

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /