We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c31b31 commit d230773Copy full SHA for d230773
projects/igniteui-angular/src/lib/select/select-item.component.ts
@@ -37,7 +37,8 @@ export class IgxSelectItemComponent extends IgxDropDownItemComponent implements
37
if (this._text !== undefined) {
38
return this._text;
39
}
40
- return this.elementRef.nativeElement.innerText.trim();
+ // If text @Input is undefined, try extract a meaningful item text out of the item template
41
+ return this.elementRef.nativeElement.textContent.trim();
42
43
44
/**
0 commit comments