I'm wondering if someone can help me with a functionality I want on a button!
I want the user to be able to press a button to filter a list based on status DRAFT. So I've OnSelect to Set(varDraft, true). And my Gallery Items to:
If(
varDraft = true,
SortByColumns(
Filter('Information',Status.Value = "Draft"),"Created",Descending),
etc.
So far so good!
But what I want to happen, is once they've pressed the button to filter the list, I'd like the button to look like it's pressed down and when they click again (to effectively "pop" the button back) and Set(varDraft, false) and go back to looking "normal".
Any ideas??