Et2LinkEntry: Pass only_app & application_list properties onto internal Et2LinkAppSelect

This commit is contained in:
nathan 2022-06-20 15:19:57 -06:00
parent 261b104875
commit 5cd417ec72

View File

@ -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)