ux: start out with all the labels selected

This commit is contained in:
Jeremy Wall 2024-02-19 22:51:03 -05:00
parent a010112f39
commit 20c8eadbd1

View File

@ -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);
}