forked from extern/egroupware
Fix readonly selects could display 'undefined' with no value and no emptyLabel
This commit is contained in:
parent
bf6cca24fd
commit
9cebab3c2f
@ -165,7 +165,7 @@ li {
|
||||
{
|
||||
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`
|
||||
|
Loading…
Reference in New Issue
Block a user