react-jsonschema-form
Advanced tools
Comparing version 0.23.1 to 0.23.2
@@ -129,3 +129,3 @@ "use strict"; | ||
schema.description ? _react2.default.createElement( | ||
"div", | ||
"p", | ||
{ className: "field-description" }, | ||
@@ -132,0 +132,0 @@ schema.description |
@@ -98,6 +98,7 @@ "use strict"; | ||
var edit = !!props.formData; | ||
var liveValidate = this.props.liveValidate || props.liveValidate; | ||
var definitions = schema.definitions; | ||
var formData = (0, _utils.getDefaultFormState)(schema, props.formData, definitions); | ||
var errors = edit ? this.validate(formData, schema) : []; | ||
var errors = edit && liveValidate ? this.validate(formData, schema) : []; | ||
var errorSchema = (0, _utils.toErrorSchema)(errors); | ||
@@ -104,0 +105,0 @@ var idSchema = (0, _utils.toIdSchema)(schema, uiSchema["ui:rootFieldId"], definitions); |
{ | ||
"name": "react-jsonschema-form", | ||
"version": "0.23.1", | ||
"version": "0.23.2", | ||
"description": "A simple React component capable of building HTML forms out of a JSON schema.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
593375
2215