This will work correctly:
@ == $selected_item then $selected_bg_color else $item_bg_color
This will not:
$selected_item == @ then $selected_bg_color else $item_bg_color
In the latter case the scanner seems to be pulling the then into the binding path, resulting in it trying to evaluate a data binding with path then, which obviously doesn't work
This will work correctly:
@ == $selected_item then $selected_bg_color else $item_bg_color
This will not:$selected_item == @ then $selected_bg_color else $item_bg_color
In the latter case the scanner seems to be pulling the
then
into the binding path, resulting in it trying to evaluate a data binding with paththen
, which obviously doesn't work