diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index 9e1bd31e37..e049b9d9c5 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -743,8 +743,11 @@ export const Et2WithSearchMixin = dedupeMixin( { if(this.searchEnabled || this.allowFreeEntries) { - this._searchInputNode.focus(); - this._searchInputNode.select(); + this.updateComplete.then(() => + { + this._searchInputNode.focus(); + this._searchInputNode.select(); + }); } return; // Need to give positioner a chance to position.