Skip to content

Commit 8b5bc3d

Browse files
authored
docs: fix method useAllFormFields on admin/hooks.mdx (#10935)
1 parent 19b4ec2 commit 8b5bc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/admin/react-hooks.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ const ExampleComponent: React.FC = () => {
135135

136136
#### Updating other fields' values
137137

138-
If you are building a Custom Component, then you should use `setValue` which is returned from the `useField` hook to programmatically set your field's value. But if you're looking to update _another_ field's value, you can use `dispatchFields` returned from `useFormFields`.
138+
If you are building a Custom Component, then you should use `setValue` which is returned from the `useField` hook to programmatically set your field's value. But if you're looking to update _another_ field's value, you can use `dispatchFields` returned from `useAllFormFields`.
139139

140140
You can send the following actions to the `dispatchFields` function.
141141

0 commit comments

Comments
 (0)