How to hide JsonExplorer component when empty

When empty the component keeps showing the root: "" message


If I hide the component, I cannot unhide it using JavaScript or through an event trigger.

Is there a way to hide JsonExplorer component only when it is empty?

Hi @reslley

Depending of your situation, I'd use a proxy variable or transformer to have more control and use it to hide/show the component.

Let's say a transformer that return a true/false according to the value of the query result.

Hope this help.

Try this in the Hidden attribute:

{{self.value == ""}}

Hi, thanks for the insight!

I used {{self.value == null}} and it worked :smiley:

1 Like