Open
Description
Prerequisites
- I have searched the existing issues
- I understand that providing a SSCCE example is tremendously useful to the maintainers.
- I have read the documentation
- Ideally, I'm providing a sample JSFiddle, Codesandbox.io or preferably a shared playground link demonstrating the issue.
What theme are you using?
core
Version
5.x
Current Behavior
When liveOmit
and omitExtraData
options are enabled, then you are unable to add a new item to an object that uses additionalProperties
within an anyOf
or oneOf
.
Example json schema
{
"oneOf": [
{
"type": "object",
"additionalProperties": {
"foo": {
"type": "string"
}
}
}
]
}
RJSF options
liveOmit: true
omitExtraData: true
Expected Behavior
Can add new items
Steps To Reproduce
- Visit playground
- Try and add a new item
Environment
Playground
Anything else?
No response