From e0806338ab1fbf8ae3e0c646d7240cfed402e7a1 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:49:12 -0400 Subject: [PATCH] [v9.4.x] docs: add default value workaround (#73001) 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 37171558ea3..294695b45c1 100644 --- a/docs/sources/dashboards/variables/_index.md +++ b/docs/sources/dashboards/variables/_index.md @@ -58,3 +58,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 `+`.