mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Et2Email: If user had a valid email typed before blurring the widget, accept it
This commit is contained in:
parent
fb55cd64ca
commit
f215a99918
@ -589,6 +589,11 @@ export class Et2Email extends Et2InputWidget(LitElement) implements SearchMixinI
|
|||||||
const path = event.composedPath();
|
const path = event.composedPath();
|
||||||
if(this && !path.includes(this))
|
if(this && !path.includes(this))
|
||||||
{
|
{
|
||||||
|
// If they had something OK typed, use it
|
||||||
|
if(this.addAddress(this._search.value.trim()))
|
||||||
|
{
|
||||||
|
this._search.value = "";
|
||||||
|
}
|
||||||
this.hide();
|
this.hide();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user