From 8eb0f21893f30467e8147ce2cebd0c9e35e4f5a9 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 18 Jan 2022 14:13:25 -0700 Subject: [PATCH] Fix webcomponents did not load value --- api/js/etemplate/Et2InputWidget/Et2InputWidget.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts b/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts index 66bbec2fdd..59a11ede61 100644 --- a/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts +++ b/api/js/etemplate/Et2InputWidget/Et2InputWidget.ts @@ -38,7 +38,6 @@ const Et2InputWidgetMixin = (superclass) => { class Et2InputWidgetClass extends Et2Widget(superclass) implements et2_IInput, et2_IInputNode { - protected _value : string | number | Object; protected _oldValue : string | number | Object; protected node : HTMLElement; @@ -112,7 +111,7 @@ const Et2InputWidgetMixin = (superclass) => set_value(new_value) { - this._value = new_value; + this.value = new_value; } get_value()