Skip to content

Commit 5d6d1d2

Browse files
committed
fix: jdorn#749
1 parent f3bcdf2 commit 5d6d1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validator.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ export class Validator {
603603
}
604604

605605
_validateV3Required (schema, value, path) {
606-
if ((typeof schema.required !== 'undefined' && schema.required === true) || (typeof schema.required === 'undefined' && this.jsoneditor.options.required_by_default === true)) {
606+
if (((typeof schema.required !== 'undefined' && schema.required === true) || (typeof schema.required === 'undefined' && this.jsoneditor.options.required_by_default === true)) && (schema.type !== 'info')) {
607607
return [{
608608
path,
609609
property: 'required',

0 commit comments

Comments
 (0)