mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-01 02:49:39 +01:00
Et2Searchbox: Fix clearing searchbox does not display the value as cleared
This commit is contained in:
parent
a8bac54e77
commit
89be2d9d38
@ -78,7 +78,9 @@ export class Et2Searchbox extends Et2Textbox
|
|||||||
{
|
{
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
|
||||||
|
const oldValue = this.value;
|
||||||
this.value = '';
|
this.value = '';
|
||||||
|
this.requestUpdate("value", oldValue);
|
||||||
this._oldChange(event);
|
this._oldChange(event);
|
||||||
|
|
||||||
// Call super so it works as expected
|
// Call super so it works as expected
|
||||||
|
Loading…
Reference in New Issue
Block a user