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

Fix ArrayInput doesn't allow null as value #8449

Merged
merged 2 commits into from
Nov 30, 2022
Merged

Fix ArrayInput doesn't allow null as value #8449

merged 2 commits into from
Nov 30, 2022

Conversation

WiXSL
Copy link
Contributor

@WiXSL WiXSL commented Nov 30, 2022

Fixes #7754

Reproduction case: https://stackblitz.com/edit/github-yb7hqu?file=package.json

  1. Edit Post of id=1
    Result: You get a cannot read properties of null (reading 'map') error.

To fix it, change package.json line 29 like so:

- "react-hook-form": "7.34.2",
+ "react-hook-form": "7.38.0",

and hard refresh the website

Copy link
Contributor

@djhi djhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed we should probably update to their latest minor

@djhi djhi added this to the 4.6 milestone Nov 30, 2022
@djhi djhi merged commit 0c3da16 into master Nov 30, 2022
@djhi djhi deleted the fix-issue-7754 branch November 30, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ArrayInput breaks when value is null
3 participants