Hi, I’m trying to create a running app where on the main screen I have a button that expands / collapses the 3 runs per week underneath it. I’m able to add the runs, but I’m not able to figure out a way for each button to expand and collapse them. I’d like each button to do that for the relevant week only. Any suggestions on how I can achieve that? Thanks!
You may want to take a look at the Tabs or Tabs Container components. That will make the setup a lot easier. Otherwise, you need to add an action to your button that will set or insert a value that you can then use to control visibility of the components you want to show or hide.
I use the switch component with a bolean column either in the user table or the current table
I use a button with an action to clear filters.
You will use visibility conditions against the bolean column you created for any single component or for a container. In this case you can see I used it for a container.
Search @Robert_Petitto on Youtube. He has a gang of videos on custom filters. I think I learnt this method from one of his hundreds of videos. I just don’t remember which one.