From 8ffbe9788467e6cdcb8d80bdfc6254516c6f43fb Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 18 Jul 2022 11:42:26 -0600 Subject: [PATCH] Fix link entry with only_app & initial value did not find entry label --- api/js/etemplate/Et2Link/Et2LinkEntry.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/js/etemplate/Et2Link/Et2LinkEntry.ts b/api/js/etemplate/Et2Link/Et2LinkEntry.ts index 08ed140872..d3bfa3fc7b 100644 --- a/api/js/etemplate/Et2Link/Et2LinkEntry.ts +++ b/api/js/etemplate/Et2Link/Et2LinkEntry.ts @@ -175,6 +175,12 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(ValidateMixin( set only_app(app) { this.__only_app = app || ""; + + // If initial value got set before only_app, it still needs app in pre-render value + if(this._value && app) + { + this._value.app = this.__only_app; + } if(app) { this.app = app;