jdorn / json-editor

JSON Schema Based Editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

collapsed=true not working

geryogam opened this issue · comments

"collasped": true does not work in definitions. Sample schema:

{
  "type": "object",
  "properties": {
    "foo": {
      "$ref": "#/definitions/foo"
    },
    "bar": {
      "$ref": "#/definitions/bar"
    }
  },
  "definitions": {
    "foo": {
      "type": "object",
      "options": {
        "collapsed": true
      }
    },
    "bar": {
      "type": "array",
      "options": {
        "collapsed": true
      }
    }
  }
}