Configure option `$data: true` for Ajv
This commit is contained in:
parent
9dfc1aab39
commit
4813cd79a1
|
@ -358,7 +358,8 @@ JSONEditor.prototype.setSchema = function (schema, schemaRefs) {
|
|||
ajv = Ajv({
|
||||
allErrors: true,
|
||||
verbose: true,
|
||||
schemaId: 'auto'
|
||||
schemaId: 'auto',
|
||||
$data: true
|
||||
});
|
||||
|
||||
// support both draft-04 and draft-06 alongside the latest draft-07
|
||||
|
|
Loading…
Reference in New Issue