plantain-00 / schema-based-json-editor

A reactjs and vuejs component of schema based json editor.
MIT License
168 stars 38 forks source link

making a field read only #14

Closed shagabay closed 6 years ago

shagabay commented 6 years ago

hi,

i hope to be able to contribute some day :) i see all those "help wanted" but haven't mastered the source well enough, hope to do so soon.

regarding a field that has an initial value which i don't want to be changed, i know there's such a flag in the editor, but can it be accessed here?

thanks a lot sharon

plantain-00 commented 6 years ago

readonly is supported now: https://github.com/plantain-00/schema-based-json-editor#features

common schema fields: title, description, default, readonly, propertyOrder, requiredWhen('===', 'in')

Is this what you want?

shagabay commented 6 years ago

works perfect, thanks!