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

Field prop `data` moved from `...rest` props into `meta` prop

Open
#725 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

### Are you submitting a **bug report** or a **feature request**?
Bug report

### What is the current behavior?
The package `react-native-material-dropdown` has a `data` prop to pass the list of items for dropdown.
https://github.com/n4kz/react-native-material-dropdown

Previously to #711 PR I used the final-form wrapper as
```

```

For now `data` prop moved from `...rest` to `meta` prop. So I've got an unexpected bug. To fix it I need to pass the `data` prop manually

```

```

### What is the expected behavior?
The expected is that the `data` prop remains in `...rest` props.

### Sandbox Link
https://codesandbox.io/s/hardcore-bird-hly9t

### What's your environment?

"final-form": "^4.18.7",
"react-final-form": "^6.3.5",

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.