Et2Email: If user had a valid email typed before blurring the widget, accept it

This commit is contained in:
nathan 2023-12-15 16:31:00 -07:00
parent fb55cd64ca
commit f215a99918

View File

@ -589,6 +589,11 @@ export class Et2Email extends Et2InputWidget(LitElement) implements SearchMixinI
const path = event.composedPath();
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();
}
};