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

Filters: When changing filter dimension, the value should be validated or cleared #694

Closed dprokop closed 6 months ago

dprokop commented 7 months ago

Currently, when changing the filter dimension the value of that filter is kept intacted. This may produce wrong query results on refresh.

To reproduce:

  1. Apply a filter, e.g. foo = bar
  2. Change the filter dimension from foo to baz
  3. Filter value still shows bar, which doesn't make any sense at this point
  4. On refresh, queries are sent with filter baz = bar (which is wrong and may not even be of the same type)
grafanabot commented 6 months ago

:rocket: Issue was released in v4.17.2 :rocket: