grafonnet icon indicating copy to clipboard operation
grafonnet copied to clipboard

Allow to set the default value to "All"

Open Duologic opened this issue 1 year ago • 0 comments

Reverse engineered this is how it looks like for a custom query:

{
        "current": {
          "selected": true,
          "text": [
            "All"
          ],
          "value": [
            "$__all"
          ]
        },
        "hide": 0,
        "includeAll": true,
        "multi": true,
        "name": "abc",
        "options": [
          {
            "selected": true,
            "text": "All",
            "value": "$__all"
          },
          {
            "selected": false,
            "text": "'true'",
            "value": "'true'"
          },
          {
            "selected": false,
            "text": "'false'",
            "value": "'false'"
          },
          {
            "selected": false,
            "text": "'limited'",
            "value": "'limited'"
          }
        ],
        "query": "'true', 'false', 'limited'",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      }

Duologic avatar Feb 13 '24 16:02 Duologic