diff --git a/public/app/core/directives/value_select_dropdown.js b/public/app/core/directives/value_select_dropdown.js index e6e2a709a1a..60d257d6fa8 100644 --- a/public/app/core/directives/value_select_dropdown.js +++ b/public/app/core/directives/value_select_dropdown.js @@ -179,6 +179,10 @@ function (angular, _, coreModule) { vm.variable.current.text = _.pluck(vm.selectedValues, 'text').join(' + '); vm.variable.current.tags = vm.selectedTags; + if (!vm.variable.multi) { + vm.variable.current.value = vm.selectedValues[0].value; + } + if (commitChange) { vm.commitChanges(); } diff --git a/public/app/features/dashboard/partials/import.html b/public/app/features/dashboard/partials/import.html index d1f028f7222..3f23e4cb682 100644 --- a/public/app/features/dashboard/partials/import.html +++ b/public/app/features/dashboard/partials/import.html @@ -15,26 +15,24 @@ -