Hi @mholdsworth2022 ,
There are a couple of things you could do here to make this easier for you. Firstly, you could have each of those lists as vertical galleries with a button in them - example of Items for the first one
[
"10 Minutes",
"15 Minutes",
"20 Minutes",
"30 Minutes",
"45 Minutes",
"60 Minutes",
"XX Minutes"
]
The Text of the button would be
ThisItem.Value
and the OnSelect of the button
Set(
CopyTextVar,
If(
!IsBlank(CopyTextVar),
CopyTextVar & ", "
) &
ThisItem.Value
);
UpdateContext({varMenu1: ThisItem.Value})
Then the DisplayMode of the button (this was your question)
If(
!IsBlank(varMenu1),
DisplayMode.Disabled,
DisplayMode.Edit
)
Also with the above you could play with the DisabledFill - the reason I used a value in the variable
If(
ThisItem.Value = varMenu1,
YourChosenColour,
YourDisabledColour
)
You would reset all the variables at screen OnVisible and possibly also supply a Clear button to do this in case they made mistakes.
I see from your items you are in OZ possibly ?
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Visit my blog Practical Power Apps