how can i create dropdown container that functions as a normal container but it can be hid like this text below
The summary element
Epcot Center
Epcot is a theme park at Walt Disney World Resort featuring exciting attractions, international pavilions, award-winning fireworks and seasonal special events.
i’m talking about a container which can have images, buttons, collections or any other component that can be used inside a container not just text. The way i want it to work is if the user clicks the dropdown component it will show a container.
Then you have to get a bit creative I guess. Maybe:
- Add a number user-specific column (USC) to the relevant table.
- Add a rich text component on the screen that looks something like “
Dropdown”. Add an action to increment the USC by 1 when users click the text. Show this only when USC doesn’t equal 1.
- Add another rich text component on the screen that looks something like “
Dropdown”. Add an action to increment the USC by -1 when users click the text. Show this only when USC equals 1.
- Show your container when USC equals 1.
1 Like