Et2ButtonIcon: Fix missing icons

There was a conflict between Et2InputWidget setting the widget name & image
This commit is contained in:
nathan 2023-05-16 10:01:51 -06:00
parent 2f3024468f
commit eddcc97163

View File

@ -53,6 +53,11 @@ export class Et2ButtonIcon extends ButtonMixin(Et2InputWidget(SlIconButton))
{
return this.src || this.name;
}
set name(name)
{
// No - use image to avoid conflicts between our icons & SlIconButton's image/url loading
}
}
customElements.define("et2-button-icon", Et2ButtonIcon);