From 36d74dd91f0482ef8eb0389ca4d55ae731953efd Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 5 Aug 2022 11:10:50 -0600 Subject: [PATCH] Select search term after selecting a search result --- api/js/etemplate/Et2Select/SearchMixin.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index a4a1000594..815958e6ad 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -528,6 +528,7 @@ export const Et2WithSearchMixin = >(superclass if(this.multiple && this.searchEnabled) { this._searchInputNode.focus(); + this._searchInputNode.select(); // Scroll the new tag into view if(event.detail && event.detail.item)