Api: Fix missing label on r/o selects

This commit is contained in:
nathan 2024-01-19 13:20:34 -07:00
parent 43278b23b6
commit 06d694cd94

View File

@ -214,6 +214,7 @@ li {
{ {
const value = this.getValueAsArray(); const value = this.getValueAsArray();
return html` return html`
<label part="label">${this.label}
<ul> <ul>
${repeat( ${repeat(
this.getValueAsArray(), this.getValueAsArray(),
@ -227,6 +228,7 @@ li {
return this._readonlyRender(option); return this._readonlyRender(option);
})} })}
</ul> </ul>
</label>
`; `;
} }