From 1a2969a74b4de08a9171e2bf21e3e6c719c18c94 Mon Sep 17 00:00:00 2001 From: RoyDust <50167909+RoyDust@users.noreply.github.com> Date: Sat, 24 Feb 2024 00:42:49 +0800 Subject: [PATCH] fix:fix multi-select tag not changing with size (#1886) Co-authored-by: xiongwei --- src/components/select/select.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/select/select.component.ts b/src/components/select/select.component.ts index bffebfe5..d33460d3 100644 --- a/src/components/select/select.component.ts +++ b/src/components/select/select.component.ts @@ -617,7 +617,7 @@ export default class SlSelect extends ShoelaceElement implements ShoelaceFormCon `; } else if (index === this.maxOptionsVisible) { // Hit tag limit - return html`+${this.selectedOptions.length - index}`; + return html`+${this.selectedOptions.length - index}`; } return html``; });