From dbcf9e75ebb9abb94a984b6a84020f0363797929 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 1 Jun 2022 09:42:50 -0600 Subject: [PATCH] Set only_app to override value --- api/js/etemplate/Et2Link/Et2LinkAppSelect.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts b/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts index acf3d290a2..7db441fa06 100644 --- a/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts +++ b/api/js/etemplate/Et2Link/Et2LinkAppSelect.ts @@ -160,6 +160,16 @@ export class Et2LinkAppSelect extends SlotMixin(Et2Select) return this.__application_list; } + get value() + { + return this.__only_app ? this.__only_app : super.value; + } + + set value(new_value) + { + super.value = new_value; + } + private _handleChange(e) { // Set icon