mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 18:33:39 +01:00
17 lines
485 B
TypeScript
17 lines
485 B
TypeScript
|
import {Et2Select} from "../Et2Select";
|
||
|
import {Et2StaticSelectMixin, StaticOptions as so} from "../StaticOptions";
|
||
|
import {cleanSelectOptions} from "../FindSelectOptions";
|
||
|
|
||
|
export class Et2SelectApp extends Et2StaticSelectMixin(Et2Select)
|
||
|
{
|
||
|
public connectedCallback()
|
||
|
{
|
||
|
super.connectedCallback()
|
||
|
this.fetchComplete = so.app(this, {}).then((options) =>
|
||
|
{
|
||
|
this.set_static_options(cleanSelectOptions(options));
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
|
||
|
customElements.define("et2-select-app", Et2SelectApp);
|