MCPcopy Index your code
hub / github.com/json-editor/json-editor / showValidationErrors

Method showValidationErrors

src/core.js:415–424  ·  view source on GitHub ↗
(errorList)

Source from the content-addressed store, hash-verified

413 }
414
415 showValidationErrors (errorList) {
416 const errors = errorList ?? this.validate()
417
418 Object.values(this.editors).forEach(editor => {
419 if (editor) {
420 editor.is_dirty = true
421 editor.showValidationErrors(errors)
422 }
423 })
424 }
425}
426
427JSONEditor.defaults = defaults

Callers 2

loadMethod · 0.45
onChangeMethod · 0.45

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected