Render app element based on filter

Hi, I try to render an element depending on the value of a filter. It should only be rendered if a value was selected in the filter. The code I came up with is below. I don’t know how I am supposed to compare the filter value to something. I tried to add the comparison in the “value” but it doesn’t seem to work.
Where can I find documentation about this?

Thanks a lot for your help!
Anna

{
        "id": "classDetails",
        "appearance": [
          {
            "column": "2/19",
            "$render": {
              "type": "int",
              "value": "{{filters.class_filter.class_id.values.0}}"
            },
            "row": "1/2",
            "zIndex": 10
          }
        ]
      },
1 Like