Hello Power Apps Community,
Good day!
I'm trying to minimize the controls used by using a gallery instead of 4 buttons with gallery i'll be able to used 1 button. However I'm having a problem.
Scenario:
As an example i have colMenuTabs with values [1, 2]. I have also a varshowspinner.
If (
varSelected = 1,
set(varshowspinner, true),
set(varshowspinner, false)
);
But what happened is when i click the second button the spinner started to show and I need to click the first button again to reset.
My question is: What did I do wrong on this scenario?
Thanks for your help in advance guys!
Solved! Go to Solution.
Oh I find the answer to my question: Don't set the varSelected on the gallery on select property, instead set the varSelected variable on the button OnSelect Property.
Oh I find the answer to my question: Don't set the varSelected on the gallery on select property, instead set the varSelected variable on the button OnSelect Property.