It’s just an and gate for 2 bools.
It means your binding is to a component property that is not a boolean.
Vision doesn't have transforms for expressions. You will need to either wrap your expression in if()
and return deliberate colors with toColor()
, or place that expression on a custom boolean property and use styling.
1 Like
Option 1
- Add a custom property (type: boolean) to your component.
- Use the same expression binding you already have to return a true/false result.
- Use the style customizer on the component, using your custom property as the 'driving' property, to affect the styles.
Option 2
Use a more complex expression using the toColor
function to return an actual color.
toColor(
if({tag1} && {tag2}, "00FF00", "000000")
)
1 Like
Thank you.