We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3556159 commit 091c7e9Copy full SHA for 091c7e9
src/core.js
@@ -46,10 +46,11 @@ JSONEditor.prototype = {
46
self.validator = new JSONEditor.Validator(self,null,validator_options);
47
48
// Create the root editor
49
- var editor_class = self.getEditorClass(self.schema);
+ var schema = self.expandRefs(self.schema);
50
+ var editor_class = self.getEditorClass(schema);
51
self.root = self.createEditor(editor_class, {
52
jsoneditor: self,
- schema: self.schema,
53
+ schema: schema,
54
required: true,
55
container: self.root_container
56
});
0 commit comments