问题
I'm using Json-editor for creating a page to edit a json schema.
I would like to set a property to be visible only if another property is set as true
, for instance: property has_pets
will rule the visibility of a pets
array.
I was not able to find anything, only enforcing the validation field.
How can I write a schema definition to does not show a property based on another property value?
来源:https://stackoverflow.com/questions/51884859/how-write-json-schema-to-show-a-property-based-on-another-property-value-using-j