Populating accordion elements with data from a collection
Populating accordion elements with data from a collection
At a glance
The community member is trying to populate Accordion elements with data from a collection, such as FAQs obtained from the backend. They are facing issues where connecting a collection breaks the accordion functionality, and nesting is limited. Alternatively, placing an accordion in a collection element results in unconnected accordions that do not work correctly.
The comments suggest that the community member should set a unique "value" from the data on the accordion item, which could be the "title" if no alternative is available. This would allow the accordion to identify the specific dynamic item.
The community member acknowledges this suggestion and confirms that it solved their issue, stating "now it works!".