From f4693af3df7e015b39bdfaa2194ef26a4a1f8875 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 25 Aug 2026 09:15:30 +0200 Subject: [PATCH] Let a multi-select say what a capped list left out, inside the panel --- src/ui/filter-bar.test.ts | 3 ++- views/partials/filter-bar.ejs | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/ui/filter-bar.test.ts b/src/ui/filter-bar.test.ts index ee496bb..3a43855 100644 --- a/src/ui/filter-bar.test.ts +++ b/src/ui/filter-bar.test.ts @@ -41,6 +41,7 @@ const config = { type: "multiselect", name: "owner", legend: "Owner", + note: "30 of 45", value: ["ann"], options: [{ value: "ann", label: "Ann Berg" }, { value: "bo", label: "Bo Falk" }], }, @@ -75,7 +76,7 @@ test("filter-bar renders a GET form with every control type, reflecting current // multiselect — a disclosure: the trigger names the filter and counts what is chosen, the options // are checkboxes in a fieldset the popover holds, so a long list costs one line of the bar. assert.match(html, /