Skip to content

Commit

Permalink
Merge pull request #2175 from zingerj/patch-1
Browse files Browse the repository at this point in the history
Fix broken formatting on useField docs
  • Loading branch information
jaredpalmer committed Jan 7, 2020
2 parents 9316a86 + 587c5ee commit 7173d74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/api/useField.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,6 @@ An object that contains relevant computed metadata about a field. More specifica

An object that contains helper functions which you can use to imperatively change the value, error value or touched status for the field in question. This is useful for components which need to change a field's status directly, without triggering change or blur events.

`setValue(value: any): void` - A function to change the field's value
`setTouched(value: boolean): void` - A function to change the field's touched status
`setError(value: any): void` - A function to change the field's error value
- `setValue(value: any): void` - A function to change the field's value
- `setTouched(value: boolean): void` - A function to change the field's touched status
- `setError(value: any): void` - A function to change the field's error value

0 comments on commit 7173d74

Please sign in to comment.