diff --git a/public/app/features/templating/partials/editor.html b/public/app/features/templating/partials/editor.html
index 63ecd00adcf..133886971bd 100644
--- a/public/app/features/templating/partials/editor.html
+++ b/public/app/features/templating/partials/editor.html
@@ -146,6 +146,23 @@
+
diff --git a/public/app/features/templating/templateValuesSrv.js b/public/app/features/templating/templateValuesSrv.js
index 18216fabd0f..a82eca012e6 100644
--- a/public/app/features/templating/templateValuesSrv.js
+++ b/public/app/features/templating/templateValuesSrv.js
@@ -115,6 +115,11 @@ function (angular, _, kbn) {
if (variable.type === 'interval') {
self.updateAutoInterval(variable);
}
+
+ if (variable.type === 'custom' && variable.includeAll) {
+ self.addAllOption(variable);
+ }
+
};
this.updateOptions = function(variable) {