Skip to content

Commit

Permalink
[docs] Fix typo (#2212)
Browse files Browse the repository at this point in the history
update to reset Dirty and reset touch hooks with the proper invocation.
  • Loading branch information
tyeetale committed Aug 23, 2022
1 parent b4d1d5c commit 42098c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/docs/form/use-form.mdx
Expand Up @@ -66,8 +66,8 @@ Hook returns an object with the following properties:
- `isDirty` – returns boolean value that indicates that field value is not the same as specified in `initialValues`
- `setDirty` – sets fields dirty state
- `setTouched` – sets fields touched state
- `resetDirtyState` – clears dirty state
- `resetTouchedState` – clears touched state
- `resetDirty` – clears dirty state
- `resetTouched` – clears touched state
- `getInputProps` – returns an object with value, onChange and error that should be spread on input

## UseFormReturnType
Expand Down

0 comments on commit 42098c2

Please sign in to comment.