Et2Searchbox: Fix clearing searchbox does not display the value as cleared

This commit is contained in:
nathan 2024-09-23 08:41:09 -06:00
parent 7e1b318bbc
commit 2fb7bbc760

View File

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