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

More accurate "required" expansion

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

Currently an object is enabled/expanded by default if it has any required descendant properties. This is not quite correct. You can have a property that isn’t required, that has a required property. It should expand from the root node down while the terms are required (stopping as soon as it encounters one that isn't).

romancow avatar Oct 04 '23 21:10 romancow