Is it possible to have a Tab component Mapped to a Query Result that can go from 1 to N elements linked to a container?
I tried to use a Tabbed Container but the number of views seems to be static while I need to have a Dynamic number of views.
Is it possible to have a Tab component Mapped to a Query Result that can go from 1 to N elements linked to a container?
I tried to use a Tabbed Container but the number of views seems to be static while I need to have a Dynamic number of views.
How would you want to generate the components in each tab?
If you want to do it dynamically, like in a List View, you can unlink the "Tabs" component which allows you to populate it as you would other mapped components:
From there, you can reference the selected item directly:
Or use the selected index to populate components as you would in a List View:
Feel free to import the attached JSON to play around with and let me know if that works!
dynamic_tabbed_container.json