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 committed by ralf
parent a8bac54e77
commit 89be2d9d38

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