Skip to content

Commit

Permalink
fix:fix multi-select tag not changing with size (#1886)
Browse files Browse the repository at this point in the history
Co-authored-by: xiongwei <xiongwei@sobey.com>
  • Loading branch information
RoyDust and xiongwei authored Feb 23, 2024
1 parent 033fec9 commit 1a2969a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ export default class SlSelect extends ShoelaceElement implements ShoelaceFormCon
</div>`;
} else if (index === this.maxOptionsVisible) {
// Hit tag limit
return html`<sl-tag>+${this.selectedOptions.length - index}</sl-tag>`;
return html`<sl-tag size=${this.size}>+${this.selectedOptions.length - index}</sl-tag>`;
}
return html``;
});
Expand Down

0 comments on commit 1a2969a

Please sign in to comment.