diff --git a/api/js/etemplate/Et2Tree/Et2TreeDropdown.ts b/api/js/etemplate/Et2Tree/Et2TreeDropdown.ts index fb9279f025..5900b2dab7 100644 --- a/api/js/etemplate/Et2Tree/Et2TreeDropdown.ts +++ b/api/js/etemplate/Et2Tree/Et2TreeDropdown.ts @@ -745,12 +745,16 @@ export class Et2TreeDropdown extends SearchMixin & Et2InputWidg inputTemplate() { - let placeholder = this.egw().lang("search"); + let placeholder = ""; let image : symbol | TemplateResult = nothing; - if(this.disabled || this.readonly || (this.open && this.value) || (this.multiple && this.value.length > 0)) + if(this.disabled || this.readonly || (!this.open && this.multiple && this.value.length > 0)) { placeholder = ""; } + else if(this.open) + { + placeholder = this.egw().lang("Search"); + } else { placeholder = this.emptyLabel || this.placeholder;