mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Et2Select: Even better handling of false invalid value
This commit is contained in:
parent
2e2c3fb0b6
commit
7db80d066f
@ -327,7 +327,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// emptyLabel is fine
|
// emptyLabel is fine
|
||||||
if((this.value == '' || this.value == []) && (this.emptyLabel || this.placeholder))
|
if((this.value === '' || Array.isArray(this.value) && this.value.length == 0) && (this.emptyLabel || this.placeholder))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user