Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nz-select - Cannot read property 'nzLabel' of undefined #2983

Closed
simplejason opened this issue Feb 27, 2019 · 0 comments · Fixed by #2987
Closed

nz-select - Cannot read property 'nzLabel' of undefined #2983

simplejason opened this issue Feb 27, 2019 · 0 comments · Fixed by #2987
Assignees

Comments

@simplejason
Copy link
Member

related code:

<div
    *ngIf="nzSelectService.listOfSelectedValue.length"
    class="ant-select-selection-selected-value"
    [attr.title]="nzSelectService.listOfCachedSelectedOption[0].nzLabel"
    [ngStyle]="selectedValueStyle">
    {{ nzSelectService.listOfCachedSelectedOption[0].nzLabel }}
</div>
@vthinkxie vthinkxie reopened this Feb 27, 2019
@vthinkxie vthinkxie changed the title nz-table - Cannot read property 'nzLabel' of undefined nz-select - Cannot read property 'nzLabel' of undefined Feb 27, 2019
@NG-ZORRO NG-ZORRO deleted a comment from ng-zorro-bot Feb 27, 2019
@vthinkxie vthinkxie removed the Invalid label Feb 27, 2019
@vthinkxie vthinkxie self-assigned this Feb 27, 2019
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants