Fix missing Et2WidgetWithSelect class

This commit is contained in:
Hadi Nategh 2022-03-01 13:31:13 +01:00
parent 08549e25da
commit 2d6770ebfa
3 changed files with 7 additions and 3 deletions

View File

@ -15,7 +15,10 @@ import {StaticOptions} from "./StaticOptions";
import {Et2widgetWithSelectMixin} from "./Et2WidgetWithSelectMixin";
import {SelectOption} from "./FindSelectOptions";
export class Et2Select extends Et2widgetWithSelectMixin(LionSelect)
// export Et2WidgetWithSelect which is used as type in other modules
export class Et2WidgetWithSelect extends Et2widgetWithSelectMixin(LionSelect){};
export class Et2Select extends Et2WidgetWithSelect
{
static get styles()
{

View File

@ -11,8 +11,8 @@
import {css, html, LitElement, repeat, TemplateResult} from "@lion/core";
import {et2_IDetachedDOM} from "../et2_core_interfaces";
import {Et2Widget} from "../Et2Widget/Et2Widget";
import {find_select_options, SelectOption} from "./Et2Select";
import {StaticOptions} from "./StaticOptions";
import {find_select_options, SelectOption} from "./FindSelectOptions";
const so = new StaticOptions();

View File

@ -7,9 +7,10 @@
*
* @param {type} widget
*/
import {Et2WidgetWithSelect, find_select_options, SelectOption} from "./Et2Select";
import {sprintf} from "../../egw_action/egw_action_common";
import {Et2SelectReadonly} from "./Et2SelectReadonly";
import {find_select_options, SelectOption} from "./FindSelectOptions";
import {Et2WidgetWithSelect} from "./Et2Select";
/**
* Some options change, or are too complicated to have twice, so we get the