jdorn / json-editor

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

readonly is not documented #836

Closed vassbence closed 4 years ago

vassbence commented 4 years ago

You can make properties read-only by using the "readonly: true" option. Actually it's not even used under options, you can use it like this:

some_prop: {
  type: 'boolean',
  readonly: true
}

This could be documented IMHO, it was useful for us.

pmk65 commented 4 years ago

This repo is no longer maintained (see also #800)

Development is continued at https://github.com/json-editor/json-editor

For details please visit json-editor/json-editor#5