json-editor icon indicating copy to clipboard operation
json-editor copied to clipboard

Hidden properties are validated.

Open kris2214 opened this issue 6 years ago • 0 comments

Consider I have a json schema as below: ....... "properties" : { "name": { "type":"string", "hide":"true" } ...... }, "required": ["name"]

The name field is hidden, but also required. I was using angular-schema-form previously, where name field was not displayed in UI and also not validated. I migrated to json-editor, now the name filed is not displayed, however, name is validated and required error message is shown in UI. Any approach to prevent hidden fields from being validated ?

kris2214 avatar Jul 20 '18 11:07 kris2214