-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Array of objects data entry not working with liveOmit #1396
Comments
It looks like the lodash According to the lodash docs, |
@Tonexus hmm, thanks... Do you have a way in mind that might fix it? |
I created a PR that fixes part of the issue, but I found a second problem. The current usage of |
@epicfaace Ok, it looks like there is only one case of nesting that does get preserved by omitExtraData. When there is an empty object inside of an object (compared to empty array in object, empty object in array, and empty array in array), Should the same be happening for arrays? My main concern is that once |
It's also broken without dependencies: playground link |
We're seeing this issue as well in our form with the latest commit. |
Description
Array of objects data entry not working with liveOmit.
Steps to Reproduce
Expected behavior
The form data should be
Actual behavior
The form data is
{}
-- somehow liveOmit is not adding in the data properly.Version
1.7.0+ (latest version from master)
This seems to be a regression added by PR #1371 .
PR #1371 demo
PR #1372 demo (right before #1371)
The text was updated successfully, but these errors were encountered: