jdorn / json-editor

JSON Schema Based Editor
MIT License
5.81k stars 1.08k forks source link

collapsed=true not working #816

Closed geryogam closed 6 years ago

geryogam commented 6 years ago

"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
      }
    }
  }
}