Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapsible Array Elements #417

Open
ai-nikolai opened this issue Jun 21, 2023 · 5 comments
Open

Collapsible Array Elements #417

ai-nikolai opened this issue Jun 21, 2023 · 5 comments

Comments

@ai-nikolai
Copy link

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

@ai-nikolai
Copy link
Author

@albanm any comments on that?

@albanm
Copy link
Member

albanm commented Jun 28, 2023

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).

@ai-nikolai
Copy link
Author

Thanks @albanm.

Two quick questions:

  1. What is the ETA for the new version?
  2. Are there particular features that other could contrbute to?

@albanm
Copy link
Member

albanm commented Jun 29, 2023

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 #409

@ai-nikolai
Copy link
Author

Thanks a lot @albanm. Happy to be alpha tester, once ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants