YUI icon indicating copy to clipboard operation
YUI copied to clipboard

Binding bug -- can't use plain `@` right before `then`

Open shdwcat opened this issue 3 years ago • 0 comments

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

shdwcat avatar Nov 27 '22 00:11 shdwcat