Fix selectAccount_ro did not display

This commit is contained in:
nathangray 2020-02-10 15:59:45 -07:00
parent 4ef2b0b401
commit 64844fc97d
2 changed files with 2 additions and 0 deletions

View File

@ -634,6 +634,7 @@ var et2_selectAccount_ro = /** @class */ (function (_super) {
*/
if (_parent.supportedWidgetClasses.indexOf(et2_selectAccount_ro) < 0) {
_parent.supportedWidgetClasses.push(et2_selectAccount_ro);
_parent.addChild(_this);
}
// Legacy options could have row count or empty label in first slot
if (typeof _this.options.empty_label == "string") {

View File

@ -784,6 +784,7 @@ export class et2_selectAccount_ro extends et2_link_string
if(_parent.supportedWidgetClasses.indexOf(et2_selectAccount_ro) < 0)
{
_parent.supportedWidgetClasses.push(et2_selectAccount_ro);
_parent.addChild(this);
}
// Legacy options could have row count or empty label in first slot