mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fix js error happens when there's no label set on select options
This commit is contained in:
parent
1284ab534f
commit
b33f0fa8cf
@ -729,7 +729,7 @@ export class Et2Select extends Et2WithSearchMixin(Et2WidgetWithSelect)
|
||||
tag = <Et2Tag>document.createElement(this.tagTag);
|
||||
}
|
||||
tag.value = item.value;
|
||||
tag.textContent = item.getTextLabel().trim();
|
||||
tag.textContent = item?.getTextLabel()?.trim();
|
||||
tag.class = item.classList.value + " search_tag";
|
||||
tag.setAttribute("exportparts", "icon");
|
||||
if(this.size)
|
||||
|
Loading…
Reference in New Issue
Block a user