Disable if for accordions

This is so non Wappler related that im sticking it in the Coffee Lounge for anyone that feels like it.

With accordions I sometimes have a situation where i may have a group of 6 of them, and one of them I just want there as a similarly styled spacer, to look pretty but actually do nothing on click.

I know programatically it sounds like a dumb idea, but I have to follow designer files and they want what they want.

I will give you an example of usage, I have a holiday itinerary, and each day in your trip has some details, like where you will be staying and what you will be doing, so the accordion for that day is headed “day 2 - visit the ozarks” and when clicked tells you how you will be learning how to launder drug money, however on the first day there could be no details to give at all, because you are spending the entire day flying to the destination, so that day says “day 1 - fly to the ozarks”

So the question is, can i make day 1 part of the same accordion group so it looks the same, yet tell it to onclick just do nothing?

Community Page
Last updated: