From 64844fc97d02881658297f6d43e48897b59317f5 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 10 Feb 2020 15:59:45 -0700 Subject: [PATCH] Fix selectAccount_ro did not display --- api/js/etemplate/et2_widget_selectAccount.js | 1 + api/js/etemplate/et2_widget_selectAccount.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/api/js/etemplate/et2_widget_selectAccount.js b/api/js/etemplate/et2_widget_selectAccount.js index 7ce48e1396..cd1f1f092a 100644 --- a/api/js/etemplate/et2_widget_selectAccount.js +++ b/api/js/etemplate/et2_widget_selectAccount.js @@ -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") { diff --git a/api/js/etemplate/et2_widget_selectAccount.ts b/api/js/etemplate/et2_widget_selectAccount.ts index 879380fcc1..1c8e1409be 100644 --- a/api/js/etemplate/et2_widget_selectAccount.ts +++ b/api/js/etemplate/et2_widget_selectAccount.ts @@ -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