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

FieldArray validate with Immutable broken in v8.2.0 (working in v8.1.0) #4457

Closed
aertmann opened this issue May 4, 2019 · 4 comments
Closed

Comments

@aertmann
Copy link

aertmann commented May 4, 2019

Are you submitting a bug report or a feature request?

bug report

What is the current behavior?

https://codesandbox.io/s/93qk7187lw

Click "Add member"

See "TypeError: Invalid attempt to spread non-iterable instance" error in console

What is the expected behavior?

No error

Switch redux-form from v8.2.0 to v8.1.0

Or add a member ({}) to the default value initialValues: fromJS({ members: [{}]})

Regression of #4337

@tomasztomys
Copy link
Contributor

+1

@dmason30
Copy link

duplicate #4439

@renatoagds
Copy link
Contributor

Hi all! Made the revert of the PR that caused this problem. Will release a new version in the next few hours. :)

@erikras
Copy link
Member

erikras commented May 24, 2019

Published fix in v8.2.1.

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

5 participants