diff --git a/api/js/etemplate/Et2Textbox/Et2Searchbox.ts b/api/js/etemplate/Et2Textbox/Et2Searchbox.ts index f7a9dfc5f9..0e7740fdd3 100644 --- a/api/js/etemplate/Et2Textbox/Et2Searchbox.ts +++ b/api/js/etemplate/Et2Textbox/Et2Searchbox.ts @@ -78,7 +78,9 @@ export class Et2Searchbox extends Et2Textbox { event.preventDefault(); + const oldValue = this.value; this.value = ''; + this.requestUpdate("value", oldValue); this._oldChange(event); // Call super so it works as expected