I have a dropdown box that links to a SharePoint list column, and a gallery with several fields in it, with a visible value of "aVisible" or "bVisible" etc.
I want an if statement that says:
If(Dropdown1.Selected.Value = "XYZ", UpdateContext({aVisible:true});
No errors on the code, but if I select XYZ from the dropdown list, the wrong field becomes visible (it makes bVisible set to true instead of aVisible).
So I swapped a and b and it works properly, but what the heck is going on?


Report
All responses (
Answers (