Skip to content

Commit

Permalink
fix: add missing error to useArrayField return value
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards1211 committed Jul 25, 2024
1 parent aa82740 commit eaa780d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/useArrayField.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ function useArrayFieldBase<Field extends FieldPath>(
...boundActions,
visited: meta?.visited || false,
touched: meta?.touched || submitFailed,
error,
elements,
dirty,
pristine,
Expand Down

0 comments on commit eaa780d

Please sign in to comment.