mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-18 04:20:05 +02:00
Fix readonly selects could display 'undefined' with no value and no emptyLabel
This commit is contained in:
@@ -165,7 +165,7 @@ li {
|
|||||||
{
|
{
|
||||||
if(!this.value || Array.isArray(this.value) && !this.value.length)
|
if(!this.value || Array.isArray(this.value) && !this.value.length)
|
||||||
{
|
{
|
||||||
return this._readonlyRender({label: this.emptyLabel, value: ""});
|
return this._readonlyRender({label: this.emptyLabel || "", value: ""});
|
||||||
}
|
}
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
|
Reference in New Issue
Block a user