omitExtraData/liveOmit doesn't work with dynamic/conditional schemas #2720
Labels
bug
duplicate issue
This issue is a duplicate of another one
if-then-else
Issues related to handling JSON Schema if/then/else
By adding support for conditional logic in schemas (#2700), schemas can now be dynamic. Because of this, it's possible for a user to enter data in a field, and afterwards conditional logic in the form can cause the field to no longer exist, or cause the data to no longer be shown in the form due to a type incompatibility. I would expect
omitExtraData
andliveOmit
to handle this, but that doesn't seem to be the case.In cases where the field no longer exists, the data will appear under additionalProperties if permitted by the schema. This is desirable under my use case, where I do not want to lose user data, so I'd like to preserve this behavior when
omitExtraData
andliveOmit
are false.The text was updated successfully, but these errors were encountered: