Skip to main content

Hi, Is it possible to keep all the accordion sections/panels open on page load on opening up the page for the first time? If it is not configurable, can we write a javascript to do the same?

Hello Pavithra, 

I just want to make sure I’m understanding correctly.

What version of Skuid are you running? Are you referring specifically to the API v2.0 accordion component?

Thanks,
Clark


Hi Clark,

Yes, it is on Skuid v2 page and we are on Spark (12.1.6).

Thanks,
Pavi


Pavithra,

There is a feature enhancement request in with the product team to make this possible declaratively. See the following community post: https://community.skuid.com/t/have-accordion-load-with-all-sections-closed-at-first .

While it may be possible to write a snippet to do this, I havent been able to find one internally that has been used.

Perhaps there is a way to use conditional rendering and click interactions on wrappers to simulate this if it is a necessary functionality?