mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 00:43:20 +01:00
Revert "Et2Select: Even better handling of false invalid value", it was too strict leaving blanks instead of emptyLabel
This reverts commit 7db80d066f
.
This commit is contained in:
parent
25a823c05d
commit
2207377bd4
@ -327,7 +327,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
}
|
||||
|
||||
// emptyLabel is fine
|
||||
if((this.value === '' || Array.isArray(this.value) && this.value.length == 0) && (this.emptyLabel || this.placeholder))
|
||||
if((this.value == '' || this.value == []) && (this.emptyLabel || this.placeholder))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user