Hello,
I have an issue with conditional visibility. The task looks pretty simple, but I don't understand why it doesn't work:
I have a section with a label and form that should be only visible if a user chooses "Line 2" in the Combo box at the first section. So, for the Visible property for this section I wrote:
If("Line 2" in DataCardValue2.SelectedItems.Value, true, false).
But as you can see on the screenshot - the section just disappeared and nothing happens if I choose or not "Line 2" in the field.
I also tried to use a variable and then set the function for the OnChange property:
Switch(DataCardValue2.Selected.Value,"Line 2",UpdateContext({cVisible: true}))
But the result is the same - the section just disappeared.
Any help is appreciated.
Thank you!