svelte-jsonschema-form icon indicating copy to clipboard operation
svelte-jsonschema-form copied to clipboard

"hidden" property ui option

Open romancow opened this issue 2 years ago • 0 comments
trafficstars

There could be a case to add a "hidden" ui option, such as her with the extra "male" object select: genderunselected

Though considering there are cases we would want to be able to enable/disable empty object like this, how would this ui option be determined when webgme-taxonomy json schema is being created?

Also, it may not be necessary in this case since this property probably should be set to required, and then we can just hide required empty objects (since it has to be in the data and there are no settings for it). So then the question are there other cases for a "hidden" ui option? If it's not an empty object, it would seem necessary to show it to select the value(s), else what's the point of it being there?

romancow avatar Oct 04 '23 21:10 romancow