Hi,
I have a combobox that are giving me these three errors when I enter this formula in the Items property:
If(
IsMatch(ddlReasonForLeave_1.Selected.Value, "Serious health condition"),
Filter(Choices(SubLeaveReasons), Value in ["Work Related", "Non-Work Related"]),
IsMatch(ddlReasonForLeave_1.Selected.Value, "Care for family member with serious health condition"),
Filter(Choices(SubLeaveReasons), Value in ["Spouse", "Parent", "Child", "Other", "Sibling", "Parent-in-law", "Grandparent", "Grandchild", "Registered domestic partner", "Child of a domestic partner"]),
Choices(SubLeaveReasons)
)
I'm just trying to filter the choices based on the selection of a different dropdown. I have the exact code on a different screen (the only difference is the naming convention of the dropdown: ddlReasonForLeave instead of ddlReasonForLeave_1) and it has no issues. These are the errors I'm getting:




The code itself still works properly when I play the app - I'm just not understanding what these errors are for/from.
Any help is appreciated!