final-form / final-form/react-final-form-arrays

Data prop is ignored despite being included in the types

Open
#141 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
210
Forks
69
PR merge metrics
No merged PRs in 30d

Description

### Are you submitting a **bug report** or a **feature request**?
Feature request, but the types suggest that it might be a bug

### What is the current behavior?
`data` prop is ignored in `useFieldArray` and `FieldArray`

### What is the expected behavior?
`data` prop to be included when registering the field

### Sandbox Link
https://codesandbox.io/s/kind-cartwright-g2kjl?file=/src/App.js

### What's your environment?

final-form@4.20.1
final-form-arrays@3.0.2
react-final-form@6.5.1
react-final-form-arrays@3.1.1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.