react-jsonschema-form
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -391,3 +391,2 @@ "use strict"; | ||
registry = _props3$registry === undefined ? (0, _utils.getDefaultRegistry)() : _props3$registry, | ||
formContext = _props3.formContext, | ||
onBlur = _props3.onBlur, | ||
@@ -400,3 +399,4 @@ onFocus = _props3.onFocus, | ||
definitions = registry.definitions, | ||
fields = registry.fields; | ||
fields = registry.fields, | ||
formContext = registry.formContext; | ||
var TitleField = fields.TitleField, | ||
@@ -562,3 +562,4 @@ DescriptionField = fields.DescriptionField; | ||
definitions = registry.definitions, | ||
fields = registry.fields; | ||
fields = registry.fields, | ||
formContext = registry.formContext; | ||
var TitleField = fields.TitleField; | ||
@@ -613,3 +614,4 @@ | ||
title: title, | ||
TitleField: TitleField | ||
TitleField: TitleField, | ||
formContext: formContext | ||
}; | ||
@@ -616,0 +618,0 @@ |
@@ -196,3 +196,8 @@ "use strict"; | ||
function validateFormData(formData, schema, customValidate, transformErrors) { | ||
ajv.validate(schema, formData); | ||
try { | ||
ajv.validate(schema, formData); | ||
} catch (e) { | ||
// swallow errors thrown in ajv due to invalid schemas, these | ||
// still get displayed | ||
} | ||
@@ -199,0 +204,0 @@ var errors = transformAjvErrors(ajv.errors); |
{ | ||
"name": "react-jsonschema-form", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A simple React component capable of building HTML forms out of a JSON schema.", | ||
@@ -84,3 +84,3 @@ "scripts": { | ||
"react-addons-test-utils": "^15.3.2", | ||
"react-codemirror2": "^2.0.2", | ||
"react-codemirror2": "^4.1.0", | ||
"react-dom": "^15.3.2", | ||
@@ -87,0 +87,0 @@ "react-transform-catch-errors": "^1.0.0", |
Sorry, the diff of this file is too big to display
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
1638869
4708