Moving subfields of array field mix their values
pedro757 opened this issue · comments
Pedro Sanchez commented
Describe the bug
When the input is still idle (I mean undefined) and you try to change its position it takes the value of other subfields. It messes things up.
Codesandbox
https://codesandbox.io/p/sandbox/focused-pond-s96spf?file=%2Fsrc%2FApp.js%3A169%2C8
Steps to reproduce
- Try to move the empty subfields dragging and dropping in other position
- Now try to move subfields with non-empty values
Expected behavior
I expect it to keep its value.
Corbin Crutchley commented
I think this is a bug with our moveValue
method. I'll investigate in a bit