mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02:00
Et2Select: Fix selection of first option when no value provided, broken by 134cd9d249625693831a1fec4a1f21317d27c001
This commit is contained in:
parent
5d35fcd990
commit
01ab3ab85a
@ -455,8 +455,8 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Multiple is allowed to be empty, and if we don't have an emptyLabel nothing to do
|
// Multiple is allowed to be empty, and if we don't have an emptyLabel or options nothing to do
|
||||||
if(this.multiple || !this.emptyLabel)
|
if(this.multiple || (!this.emptyLabel && this.select_options.length === 0))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user