-
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
fix(utils): omit computedDefault of empty required properties nested in optional parent property #3287
fix(utils): omit computedDefault of empty required properties nested in optional parent property #3287
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the CHANGELOG.md
I'm actually not sure |
We could go with |
Also, please update the |
…in optional parent property
07180ca
to
0ed7122
Compare
0ed7122
to
d1c69f7
Compare
…deUndefinedValues prop as "excludeObjectChildren"
…in optional parent property (rjsf-team#3287) * fix(utils): omit computedDefault of empty required properties nested in optional parent property * responding to feedback - updated once to excludeObjectChildren, updated changelog * Add comment into MultiSchemaField to explain reason for passing includeUndefinedValues prop as "excludeObjectChildren"
…in optional parent property (rjsf-team#3287) * fix(utils): omit computedDefault of empty required properties nested in optional parent property * responding to feedback - updated once to excludeObjectChildren, updated changelog * Add comment into MultiSchemaField to explain reason for passing includeUndefinedValues prop as "excludeObjectChildren"
Reasons for making this change
Continuing from this PR: fix(utils): omit computedDefault of empty objects
Fixes #2150 and #2708.
Checklist
npm run test:update
to update snapshots, if needed.