Skip to content

Commit 17b6309

Browse files
IvayloGLipata
authored andcommitted
fix(select): use textContent #6273 (#6313)
1 parent bc6ebc7 commit 17b6309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/select/select-item.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class IgxSelectItemComponent extends IgxDropDownItemComponent implements
99

1010
/** @hidden @internal */
1111
public get itemText() {
12-
return this.elementRef.nativeElement.innerText.trim();
12+
return this.elementRef.nativeElement.textContent.trim();
1313
}
1414

1515
/**

0 commit comments

Comments
 (0)