I have a component with an SVG in it which is dynamically set by an attribute that provides the path (d). If no SVG is chosen and the attribute is left blank, I want to hide the SVG using the show formula.
I tried using the NOT EQUAL function so if the attribute is null then output FALSE and hide the SVG but I now realise that blank attributes are not null but rather undefined. I tried to create a custom action that outputs a Boolean if the input is undefined but I can’t figure out how to run it in the component.
Any ideas on how I can hide/show depending on if the attribute is undefined or not?