@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/index.js CHANGED
@@ -1015,7 +1015,7 @@ var AnyOfField = class extends import_react2.Component {
1015
1015
  const option = selectedOption >= 0 ? retrievedOptions[selectedOption] || null : null;
1016
1016
  let optionSchema;
1017
1017
  if (option) {
1018
- const { oneOf, anyOf, ...remaining } = schema;
1018
+ const { oneOf, anyOf, properties, ...remaining } = schema;
1019
1019
  (0, import_unset.default)(remaining, import_utils3.ADDITIONAL_PROPERTY_FLAG);
1020
1020
  optionSchema = !(0, import_isEmpty.default)(remaining) ? (0, import_utils3.mergeSchemas)(remaining, option) : option;
1021
1021
  }