From bf0730b35fd53193b68fb4340e3cf20cc0ef23f2 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Mon, 7 Aug 2023 12:48:56 -0400 Subject: [PATCH] [v10.0.x] docs: add default value workaround (#73003) docs: add default value workaround (#72545) * Update _index.md Fixes #https://github.com/grafana/support-escalations/issues/6376 Variables : Added Default values * Update docs/sources/dashboards/variables/_index.md Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * Ran prettier to resolve build errors --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> Co-authored-by: Isabel Matwawana Co-authored-by: Jack Baldry (cherry picked from commit 54f0de313fbdb49ff1154d135c51e394f45fa734) Co-authored-by: arunkg2787 <131352769+arunkg2787@users.noreply.github.com> --- docs/sources/dashboards/variables/_index.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sources/dashboards/variables/_index.md b/docs/sources/dashboards/variables/_index.md index b42cd2a7848..30b13e5e637 100644 --- a/docs/sources/dashboards/variables/_index.md +++ b/docs/sources/dashboards/variables/_index.md @@ -63,3 +63,6 @@ The following dashboards in Grafana Play provide examples of template variables: - Variable drop-down lists are displayed in the order they are listed in the variable list in Dashboard settings. - Put the variables that you will change often at the top, so they will be shown first (far left on the dashboard). +- By default, variables don't have a default value. This means that the topmost value in the drop-down is always preselected. If you want to pre-populate a variable with an empty value, you can use the following workaround in the variable settings: + 1. Select the **Include All Option** checkbox. + 2. In the **Custom all value** field, enter a value like `+`.