Hi,
Two reasons I can think of for this:
One -
Do you need to use a dropdown for those items? Are you going to be changing its value on this same screen?
If its from the same list then just use ThisItem.Status.Value in a label rather than a dropdown/combobox
Otherwise:
Two -
When using a gallery, you need to reference an item within a row rather than the control itself if you want to defer to each row's value:
Switch(
ThisItem.Status,
"Approved", RGBA(127, 178, 57, 1),
"Rejected", RGBA( 255, 0, 0, 1 ),
RGBA(255, 140, 0, 1)
)
If this is a choice column, then we need to use the .value :
Switch(
ThisItem.Status.Value,
"Approved", RGBA(127, 178, 57, 1),
"Rejected", RGBA( 255, 0, 0, 1 ),
RGBA(255, 140, 0, 1)
)
Hope this helps in some way, I'm not certain its the answer but its all I could think of apart from what Reza already covered,
Cheers,
Sanho