Fix nextmatch entry filter header could not be cleared

This commit is contained in:
nathan 2023-12-06 14:46:07 -07:00
parent 3f18031cfd
commit a23cfd37b0

View File

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