Partially fix labels with %s don't wrap

This commit is contained in:
nathan 2024-04-23 08:56:42 -06:00
parent d967bb7f66
commit 3a6e425a2b

View File

@ -412,6 +412,7 @@ const Et2InputWidgetMixin = <T extends Constructor<LitElement>>(superclass : T)
this.label = pre; this.label = pre;
if(post?.trim().length > 0) if(post?.trim().length > 0)
{ {
this.__label = pre;
this.updateComplete.then(() => this.updateComplete.then(() =>
{ {
const label = document.createElement("et2-description"); const label = document.createElement("et2-description");