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 field #6512

Open
Laruxo opened this issue Apr 29, 2024 · 0 comments
Open

Collapsible array field #6512

Laruxo opened this issue Apr 29, 2024 · 0 comments

Comments

@Laruxo
Copy link

Laruxo commented Apr 29, 2024

I have an array field that is automatically generated and can contain hundreds of items. It would be nice to make this field collapsible. Currently, it is possible to do this by wrapping it in a fieldset or creating a custom field component with a local state. Both solutions have some drawbacks.

It seems this should be easily doable in Sanity core, there is even a TODO:

// todo: consider support for collapsible arrays

Additional context
Previous issue: #722

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

No branches or pull requests

1 participant