We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3bcdf2 commit 5d6d1d2Copy full SHA for 5d6d1d2
src/validator.js
@@ -603,7 +603,7 @@ export class Validator {
603
}
604
605
_validateV3Required (schema, value, path) {
606
- if ((typeof schema.required !== 'undefined' && schema.required === true) || (typeof schema.required === 'undefined' && this.jsoneditor.options.required_by_default === true)) {
+ if (((typeof schema.required !== 'undefined' && schema.required === true) || (typeof schema.required === 'undefined' && this.jsoneditor.options.required_by_default === true)) && (schema.type !== 'info')) {
607
return [{
608
path,
609
property: 'required',
0 commit comments