kopia lustrzana https://github.com/shoelace-style/shoelace
fix:fix multi-select tag not changing with size (#1886)
Co-authored-by: xiongwei <xiongwei@sobey.com>pull/1889/head
rodzic
033fec9471
commit
1a2969a74b
|
@ -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``;
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue