@rjsf/core
Advanced tools
Comparing version 5.23.1 to 5.23.2
@@ -36,3 +36,3 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
let newFormData = schemaUtils.sanitizeDataForNewSchema(newOption, oldOption, formData); | ||
if (newFormData && newOption) { | ||
if (newOption) { | ||
// Call getDefaultFormState to make sure defaults are populated on change. Pass "excludeObjectChildren" | ||
@@ -39,0 +39,0 @@ // so that only the root objects themselves are created without adding undefined children properties |
{ | ||
"name": "@rjsf/core", | ||
"version": "5.23.1", | ||
"version": "5.23.2", | ||
"description": "A simple React component capable of building HTML forms out of a JSON schema.", | ||
@@ -57,6 +57,6 @@ "scripts": { | ||
"@babel/preset-typescript": "^7.23.3", | ||
"@rjsf/snapshot-tests": "^5.23.1", | ||
"@rjsf/utils": "^5.23.1", | ||
"@rjsf/validator-ajv6": "^5.23.1", | ||
"@rjsf/validator-ajv8": "^5.23.1", | ||
"@rjsf/snapshot-tests": "^5.23.2", | ||
"@rjsf/utils": "^5.23.2", | ||
"@rjsf/validator-ajv6": "^5.23.2", | ||
"@rjsf/validator-ajv8": "^5.23.2", | ||
"@types/jest": "^29.5.12", | ||
@@ -107,3 +107,3 @@ "@types/lodash": "^4.14.202", | ||
}, | ||
"gitHead": "85df7b2c75cffe747db3804f5e9db6ea89361dfb" | ||
"gitHead": "e95ead8cf869d4f9082da78b3ed61870cef520da" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1557700