Warning not popping up?

Does anyone have any idea why the Lays Baked and String Cheese warning wont pop up but the SunChips will?
(This is with all of the allergens selected in the users profile.)




Assuming your screen is attached to the first row, Selected is not true. That’s why it’s not showing.

That said, I would approach this a lot differently instead of having such hyper specific warning components for each food item. I think this could be completely dynamic with a single warning. Use a query to get all rows where Selected is true and allergen is included in user allergens. Use a joined list to get selected food allergens and display that joined list in your warning. It’s one warning that is completely dynamic based on the selected food items. Only show the warning if the joined list is not empty.

2 Likes