missing et2-select-lang widget

This commit is contained in:
ralf 2023-02-06 15:52:58 +01:00
parent ab6338f13f
commit bd8198d230

View File

@ -895,4 +895,17 @@ export class Et2SelectYear extends Et2SelectNumber
}
// @ts-ignore TypeScript is not recognizing that this widget is a LitElement
customElements.define("et2-select-year", Et2SelectYear);
customElements.define("et2-select-year", Et2SelectYear);
export class Et2SelectLang extends Et2StaticSelectMixin(Et2Select)
{
constructor()
{
super();
this.static_options = so.lang(this, {other: this.other || []});
}
}
// @ts-ignore TypeScript is not recognizing that this widget is a LitElement
customElements.define("et2-select-lang", Et2SelectLang);