Skip to content

Commit

Permalink
fix(ListField): add count property
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroslavPetrik committed Nov 28, 2023
1 parent 58eff4b commit 3f3a327
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/list-field/ListField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export function ListField<
// @ts-ignore
fields,
index,
count: items.length,
RemoveItemButton: () => <RemoveItemButton remove={remove} />,
})}
</Fragment>
Expand Down

0 comments on commit 3f3a327

Please sign in to comment.