diff --git a/api/js/etemplate/Et2Select/SearchMixin.ts b/api/js/etemplate/Et2Select/SearchMixin.ts index cd438c63e6..57cd0da8f2 100644 --- a/api/js/etemplate/Et2Select/SearchMixin.ts +++ b/api/js/etemplate/Et2Select/SearchMixin.ts @@ -145,13 +145,19 @@ export const Et2WithSearchMixin = dedupeMixin( width: 100%; } - :host([search]) sl-select[open]::part(display-input), :host([allowfreeentries]) sl-select[open]::part(display-input) { - display: none; - } + :host([search]), :host([allowfreeentries]) { + sl-select[open]::part(display-input) { + display: none; + } - :host([search]) sl-select[open]::part(expand-icon) { - display: none; - } + sl-select[open]::part(clear-button) { + display: none; + } + + sl-select[open]::part(expand-icon) { + display: none; + } + } sl-select[open][multiple]::part(tags) { flex-basis: 100%;