mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Et2TreeDropdown: search input has "search" as placeholder when it has focus
This commit is contained in:
parent
6542552177
commit
c45246eac2
@ -745,12 +745,16 @@ export class Et2TreeDropdown extends SearchMixin<Constructor<any> & 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;
|
||||
|
Loading…
Reference in New Issue
Block a user