@rjsf/utils 5.12.0 → 5.13.0
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/index.js +2 -1
- package/dist/index.js.map +2 -2
- package/dist/utils.esm.js +2 -1
- package/dist/utils.esm.js.map +2 -2
- package/dist/utils.umd.js +2 -1
- package/lib/schema/retrieveSchema.js +2 -1
- package/lib/schema/retrieveSchema.js.map +1 -1
- package/package.json +2 -2
- package/src/schema/retrieveSchema.ts +2 -1
package/dist/utils.esm.js
CHANGED
|
@@ -460,7 +460,8 @@ function retrieveSchemaInternal(validator, schema, rootSchema, rawFormData, expa
|
|
|
460
460
|
}
|
|
461
461
|
if (ALL_OF_KEY in resolvedSchema) {
|
|
462
462
|
if (expandAllBranches) {
|
|
463
|
-
|
|
463
|
+
const { allOf, ...restOfSchema } = resolvedSchema;
|
|
464
|
+
return [...allOf, restOfSchema];
|
|
464
465
|
}
|
|
465
466
|
try {
|
|
466
467
|
resolvedSchema = mergeAllOf(resolvedSchema, {
|