Thank you for taking the time to read my question.
I'm not 100% clear on how components work. I want to make a navigation bar in my app using a horizontal gallery.
The Items =
Filter(FacilityLines,Title = SelectedFacility.Text,Line <> SelectedLine.Text)
FacilityLines is a SharePoint list
SelectedFacility is Set() as a variable
SelectedLine is Set() as a variable
If I put the above in as the items of the horizontal gallery in my new component, the SelectedFacility.Text and SelectedLine.Text are red underlined. So I made two Custom Properties:
inptFacility
inptLine
I then put that into my Items but they are now red underlined.
Filter(FacilityLines,Title = inptFacility,Line <> inptLine)
I made
inptFacility = SelectedFacility.Text
inptLine = SelectedLine.Text
I inserted the component onto my screen in hopes that it would just work as the variables are available there and work correctly (I added two labels and made them equal to the variables and they show the correct text) but it does not.
How do I get the items to work for my component?
Thanks