final-form / final-form/react-final-form-arrays
Field.move keeps reference to old position
- Dominant language
- TypeScript
- Stars
- 210
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
### Bug
when moving a field in a array from position 0 to lets say position 2 and then type in the input on position 2, the value of the input in position 0 will be updated instead of active input on position 2.
### What is the expected behavior?
To update the value of the current active input
### Sandbox Link
[https://codesandbox.io/s/oo367849lq](https://codesandbox.io/s/oo367849lq)
### What's your environment?
````json
"dependencies": {
"styled-components": "2.2.4",
"react-final-form-arrays": "2.0.1",
"react-final-form": "4.0.1",
"react-dom": "16.6.3",
"react": "16.6.3",
"final-form-arrays": "1.1.0",
"final-form": "4.11.0"
}
````
Contributor guide
Assessment
This issue has not been assessed yet.