Hello Fellow Wapplers,
I have a calendar with dynamic events from multiple sources. I’d like to hide/show events from a source based on whether or not the user needs to see events from a certain calendar.
I have a dynamic calendar with a Dynamic Show attribute:
The show condition is:
varShowCounselorCal.value == 1
varShowCounselorCal is a Variable with a default of 0.
When the calendar loads it correctly shows the default events:
Clicking the “Show Counselor Calendar” button sets:
varShowCounselorCal.value == 1
It also sets the button state as active.
Button logic:
varShowCounselorCal.value == 0 ? 1: 0
When the user clicks on this button again, it sets:
varShowCounselorCal.value == 0
It also removes the active button state
As shown, the event from the calendar whose Show condition is:
varShowCounselorCal.value == 1
Is still appearing.
My understanding is that since the calendar Show condition is not met. The Calendar and its corresponding events should not display.
At this point, I’m not sure if this is a bug or a misunderstanding on my behalf of how things are supposed to work. If it’s a bug, I can provide an official bug report.
Last updated: