@rjsf/core 5.12.0 → 5.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.umd.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/lib/components/fields/MultiSchemaField.js +2 -1
- package/lib/components/fields/MultiSchemaField.js.map +1 -1
- package/package.json +5 -5
- package/src/components/fields/MultiSchemaField.tsx +2 -1
package/dist/core.umd.js
CHANGED
|
@@ -950,7 +950,7 @@
|
|
|
950
950
|
const option = selectedOption >= 0 ? retrievedOptions[selectedOption] || null : null;
|
|
951
951
|
let optionSchema;
|
|
952
952
|
if (option) {
|
|
953
|
-
const { oneOf, anyOf, ...remaining } = schema;
|
|
953
|
+
const { oneOf, anyOf, properties, ...remaining } = schema;
|
|
954
954
|
unset(remaining, utils.ADDITIONAL_PROPERTY_FLAG);
|
|
955
955
|
optionSchema = !isEmpty(remaining) ? utils.mergeSchemas(remaining, option) : option;
|
|
956
956
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -1016,7 +1016,7 @@ var AnyOfField = class extends Component2 {
|
|
|
1016
1016
|
const option = selectedOption >= 0 ? retrievedOptions[selectedOption] || null : null;
|
|
1017
1017
|
let optionSchema;
|
|
1018
1018
|
if (option) {
|
|
1019
|
-
const { oneOf, anyOf, ...remaining } = schema;
|
|
1019
|
+
const { oneOf, anyOf, properties, ...remaining } = schema;
|
|
1020
1020
|
unset(remaining, ADDITIONAL_PROPERTY_FLAG);
|
|
1021
1021
|
optionSchema = !isEmpty(remaining) ? mergeSchemas(remaining, option) : option;
|
|
1022
1022
|
}
|