Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values from next nearest array item are prefilled using insert mutator #64

Open
b00sta opened this issue Dec 29, 2020 · 3 comments
Open

Comments

@b00sta
Copy link

b00sta commented Dec 29, 2020

Bug report

What is the current behaviour?

https://codesandbox.io/s/react-final-form-field-arrays-forked-q70qm

Click Add Customer
Fill fields
Click Add Customer

Values from first row will be used in created one

What is the expected behaviour?

It shouldn't inherit values from next nearest element

@Luwangel
Copy link

Hi, I've the same issue. I'm using this library to build a custom form in react-admin and it's really annoying.

For me, this bug is related to this one #44.

But I don't understand why nobody cares.

@smoliakov
Copy link

Have the same error and problem.
Any solutions or workarounds?

@Luwangel
Copy link

@smoliakov I forked the repo and fixed the issue. It's not well tested, but you can take a look. https://github.com/Luwangel/final-form-arrays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants