grafana/public/app/features/variables
Marcus Andersson ac7af7d4c3
TemplateVariables: make sure we handle multi/single value with correct data type (#23208)
* Fixed issue with multi value.

* Made some refactorings after feedback from Torkel and Hugo.

* minor refactorings.

* changed so we don't make the current value to array if multi is false.

* added snapshot to contain v23.

* Fixed so we always use the correct type when setting value for multi/non-multi.

* added some more tests.

* added tests.

* some small adjustments after feedback
2020-04-01 18:13:38 +02:00
..
adhoc Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
constant Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
custom TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
datasource TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
editor TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
interval Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
pickers Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
query TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
shared TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
state TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00
textbox Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
adapters.ts Variables: breaks variable.ts into 2 separate files utils and types (#22884) 2020-03-24 05:46:31 +01:00
guard.ts TemplateVariables: make sure we handle multi/single value with correct data type (#23208) 2020-04-01 18:13:38 +02:00