diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index c1e82879d3..1097a218b5 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -151,6 +151,12 @@ export const Et2WithSearchMixin = >(superclass flex: 1 1 auto; width: 100%; } + /* Don't show the current value while searching for single, we want the space + This lets the current value shrink to nothing so the input can expand + */ + .select__label { + flex: 1 15 auto; + } /* Show edit textbox only when editing */ .search_input #edit { display: none; @@ -327,7 +333,7 @@ export const Et2WithSearchMixin = >(superclass } // I can't figure out how to get this full width via CSS return html` - + ${edit} `; }