Fix missing description label

This commit is contained in:
nathan 2022-08-16 09:19:31 -06:00
parent 228f6ceb90
commit 660ba3368d

View File

@ -176,7 +176,7 @@ export class Et2Description extends Et2Widget(LitElement) implements et2_IDetach
{
// Turn off IDE reformatting, or it will add an extra line break into the template
// @formatter:off
return html`<slot></slot>`;
return html`<slot part="form-control-label" name="label">${this.label}</slot><slot part="form-control-value"></slot>`;
// @formatter:on
}