From 5cd417ec72d416c48dfaa7f890c6814ad02eae54 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 20 Jun 2022 15:19:57 -0600 Subject: [PATCH] Et2LinkEntry: Pass only_app & application_list properties onto internal Et2LinkAppSelect --- api/js/etemplate/Et2Link/Et2LinkEntry.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api/js/etemplate/Et2Link/Et2LinkEntry.ts b/api/js/etemplate/Et2Link/Et2LinkEntry.ts index 770777e792..e92dbfb863 100644 --- a/api/js/etemplate/Et2Link/Et2LinkEntry.ts +++ b/api/js/etemplate/Et2Link/Et2LinkEntry.ts @@ -152,6 +152,19 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(ValidateMixin( this._appNode.readonly = this.readonly; this._searchNode.readonly = this.readonly; } + // Pass some properties on to app selection + if(changedProperties.has("only_app")) + { + this._appNode.only_app = this.only_app; + } + if(changedProperties.has("application_list")) + { + this._appNode.application_list = this.application_list; + } + if(changedProperties.has("app_icons")) + { + this._appNode.app_icons = this.app_icons; + } } set only_app(app)