fix wrong class-name for attributes in constructor call

This commit is contained in:
Ralf Becker
2020-01-22 18:38:33 +01:00
committed by Hadi Nategh
parent 313693a42c
commit 05b92c97f2
14 changed files with 42 additions and 32 deletions

View File

@ -17,6 +17,8 @@
import { et2_baseWidget } from './et2_core_baseWidget'
import './et2_core_common';
import {WidgetConfig} from "./et2_core_widget";
import {ClassWithAttributes} from "./et2_core_inheritance";
/**
* et2_valueWidget is the base class for et2_inputWidget - valueWidget introduces
@ -44,10 +46,17 @@ export class et2_valueWidget extends et2_baseWidget
label: string = '';
protected _labelContainer: JQuery = null;
/**
* Constructor
*/
constructor(_parent, _attrs? : WidgetConfig, _child? : object)
{
// Call the inherited constructor
super(_parent, _attrs, ClassWithAttributes.extendAttributes(et2_valueWidget._attributes, _child || {}));
}
/**
*
*
* @memberOf et2_valueWidget
* @param _attrs
*/
transformAttributes(_attrs : object)