From 20c8eadbd1c078a7cc2f6086da2f54ec2591bf60 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Mon, 19 Feb 2024 22:51:03 -0500 Subject: [PATCH] ux: start out with all the labels selected --- static/lib.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/lib.js b/static/lib.js index 478f5b2..bd46ed9 100644 --- a/static/lib.js +++ b/static/lib.js @@ -181,6 +181,7 @@ class TimeseriesGraph extends HTMLElement { for (var opt of this.#filterLabels[key]) { const optElement = document.createElement("option"); optElement.setAttribute("value", opt); + optElement.setAttribute("selected", true); optElement.innerText = opt; select.appendChild(optElement); }