grafana / scenes

Build Grafana dashboards directly in your Grafana app plugins.
https://grafana.com/developers/scenes
Apache License 2.0
141 stars 21 forks source link

Variables: Saved default all value with non multi select fix #959

Closed torkelo closed 1 week ago

torkelo commented 1 week ago

Fixes https://github.com/grafana/grafana/issues/96027

The issue seems to be that both text & value are initialized to ALL_VARIABLE_VALUE, and in case the Select is not a multi value the correct label is not shown

Think this could fix it

📦 Published PR as canary version: 5.23.2--canary.959.11726132276.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes-react@5.23.2--canary.959.11726132276.0 npm install @grafana/scenes@5.23.2--canary.959.11726132276.0 # or yarn add @grafana/scenes-react@5.23.2--canary.959.11726132276.0 yarn add @grafana/scenes@5.23.2--canary.959.11726132276.0 ```
scenes-repo-bot-access-token[bot] commented 1 week ago

:rocket: PR was released in v5.23.2 :rocket: