josdejong/jsoneditor

Reckon with readOnly attribute of JSON Schema

Open

#922 opened on Mar 1, 2020

 (1 comment) (0 reactions) (0 assignees)JavaScript (2,080 forks)batch import
featurehelp wanted

Repository metrics

Stars
 (12,263 stars)
PR merge metrics
 (Avg merge 15h 36m) (3 merged PRs in 30d)

Description

It would be nice if fields marked as "readOnly" in the JSONSchema would be read only.

It has a tricky side effect of course: it would not be possible to start from an empty document and fill in all fields to make it valid JSON schema.

Ref: https://github.com/josdejong/jsoneditor/issues/920#issuecomment-592979760

Contributor guide