From a23cfd37b0c3b69b7b49f09f32f400745f97ddf6 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 6 Dec 2023 14:46:07 -0700 Subject: [PATCH] Fix nextmatch entry filter header could not be cleared --- api/js/etemplate/Et2Link/Et2LinkEntry.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Link/Et2LinkEntry.ts b/api/js/etemplate/Et2Link/Et2LinkEntry.ts index 76e0822646..55a030fc5c 100644 --- a/api/js/etemplate/Et2Link/Et2LinkEntry.ts +++ b/api/js/etemplate/Et2Link/Et2LinkEntry.ts @@ -300,6 +300,7 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(SlotMixin(LitE protected _handleEntryClear(event) { this.classList.remove("hideApp") + this._searchNode.value = ""; this._searchNode.focus(); this.dispatchEvent(new Event("change")); @@ -387,7 +388,7 @@ export class Et2LinkEntry extends Et2InputWidget(FormControlMixin(SlotMixin(LitE } else { - this.app = value.app; + this.app = this._searchNode.app = value.app; this._searchNode.value = value.id; } this.classList.toggle("hideApp", Boolean(value.id));