diff --git a/api/js/etemplate/Et2Email/Et2Email.ts b/api/js/etemplate/Et2Email/Et2Email.ts index 116717ad13..63f0437994 100644 --- a/api/js/etemplate/Et2Email/Et2Email.ts +++ b/api/js/etemplate/Et2Email/Et2Email.ts @@ -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(); } };