@rjsf/utils 5.13.6 → 5.14.2

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
@@ -1440,7 +1440,7 @@ function sanitizeDataForNewSchema(validator, rootSchema, newSchema, oldSchema, d
1440
1440
  }
1441
1441
  });
1442
1442
  newFormData = {
1443
- ...data,
1443
+ ...typeof data == "string" || Array.isArray(data) ? void 0 : data,
1444
1444
  ...removeOldSchemaData,
1445
1445
  ...nestedData
1446
1446
  };