diff --git a/api/js/etemplate/Et2Url/Et2InvokerMixin.ts b/api/js/etemplate/Et2Url/Et2InvokerMixin.ts index 01c8ae810e..5f089c900a 100644 --- a/api/js/etemplate/Et2Url/Et2InvokerMixin.ts +++ b/api/js/etemplate/Et2Url/Et2InvokerMixin.ts @@ -8,7 +8,7 @@ */ /* eslint-disable import/no-extraneous-dependencies */ -import {css, html, LitElement} from 'lit'; +import {css, html, LitElement, render} from 'lit'; import {Et2InputWidget, Et2InputWidgetInterface} from "../Et2InputWidget/Et2InputWidget"; import {colorsDefStyles} from "../Styles/colorsDefStyles"; import {dedupeMixin} from "@open-wc/dedupe-mixin"; @@ -83,17 +83,6 @@ export const Et2InvokerMixin = dedupeMixin(>(s ]; } - get slots() - { - return { - ...super.slots, - suffix: () => - { - return this._invokerTemplate(); - }, - }; - } - /** * @protected */ @@ -197,6 +186,7 @@ export const Et2InvokerMixin = dedupeMixin(>(s firstUpdated(changedProperties) { super.firstUpdated(changedProperties); + render(this._invokerTemplate(), this); this._toggleInvokerDisabled(); this._toggleInvoker(); } @@ -209,8 +199,9 @@ export const Et2InvokerMixin = dedupeMixin(>(s _invokerTemplate() { return html` -