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: Add new `allowCustomValue` flag to MultiVariables #956

Closed mdvictor closed 4 days ago

mdvictor commented 1 week ago

We are a feature request to offer the ability to select whether a variable can support custom values or just lock the options list to contain only queried option values. This change is needed in scenes to offer the functionality in dashboards.

Since we currently allow custom values by default, we maintain this default but offer the option to disable the flag in dashboards variable settings.

Related PR

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

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