Join the Webstudio community

Updated 3 weeks ago

Accordion Collection expands all

At a glance

A community member is using a Collection inside an accordion to dynamically pull call items, but they are facing an issue where all accordions expand when one is expanded, unlike a non-collection accordion that expands one at a time. The community member notes that the issue is resolved when they remove items from the Collection. Another community member suggests that the issue can be resolved by providing a unique "value" property on the accordion item.

Using a Collection inside accordion to Dynamically pull call Items

The problem i am facing is, all accordion expand as i expand 1 of them
Unlike a non collection accordion, that expands one at a time

The moment i remove items out of Collection, they work fine

Am i implementing Collection inside accordion incorrectly?

Thanks
Marked as solution
Need to provide unique "value" property on accordion item
View full solution
B
m
2 comments
Need to provide unique "value" property on accordion item
Add a reply
Sign up and join the conversation on Discord