"Sometimes Show" with OR operator


I have an “edit” button that I would like to show when someone is either the creator of an item OR they have my isAdmin flag set to true.

I haven’t seen a way to do this. Am I missing a way to add other operators like ORs or ANDs to the sometimes show logic?

Thanks in advance!

One way to do this is to duplicate the button, one will show for the creator, and the other will show for the isAdmin flag.

1 Like

Ahhh ok. I’ll try that out. Thanks for the note. Was hoping it might be a little cleaner, but that makes sense.

yeah. Unfortunately, there is no way to do this with an “OR” operator in the component visibility. “And” is doable with grouping the component, but “OR” has to be done this way for now. At least to the best of my knowledge.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.