Open ai-nikolai opened 1 year ago
@albanm any comments on that?
I don't know if this is such a common user interface need. I suppose making stuff collapsible would not be limited to arrays, the same arguments could be make at least for sections.
A difficulty of making stuff collapsible is error management. If there is an error in the collapsed content it will be hidden to the user who might be stuck with an invalid form but no visible clue on how to fix it. So if it was to be done there would have to be some strategy (like forcefully uncollapse contents with errors, or have a red border, etc).
All in all I don't think I will include this in the current version that is in low maintenance mode waiting for the next major (sorry things are not going fast on this).
Thanks @albanm.
Two quick questions:
ETA is end of year. But it depends on my ability to dedicate a few weeks of full-time work on this topic, it should be doable but I can't be certain. I need to achieve a pre-alpha at some point this summer and open the discussion with users for testing and contributions, this is not possible at this stage.
See https://github.com/koumoul-dev/vuetify-jsonschema-form/issues/409
Thanks a lot @albanm. Happy to be alpha tester, once ready.
We are looking for a way of making array elements collapsible. This would be a great feature.
An example of what we mean can be found here: https://ncform.github.io/ncform/ncform-show/playground/index.html#tpl=basic-array-type