mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Et2Select: Fix placeholder could not be shown
This commit is contained in:
parent
f6e6b7dc38
commit
4a48fc74c7
@ -322,7 +322,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
}
|
||||
|
||||
// emptyLabel is fine
|
||||
if(this.value === "" && this.emptyLabel)
|
||||
if(!(this.value) && this.value !== '0' && (this.emptyLabel || this.placeholder))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user