mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Et2Searchbox: Fix clearing searchbox does not display the value as cleared
This commit is contained in:
parent
7e1b318bbc
commit
2fb7bbc760
@ -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