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

templateRef support for nzNotFoundContent in documentation #3566

Closed
meowhunter opened this issue Jun 13, 2019 · 2 comments
Closed

templateRef support for nzNotFoundContent in documentation #3566

meowhunter opened this issue Jun 13, 2019 · 2 comments
Assignees
Labels
Component: Select Good First Issue Issues recommended for first-time contributor

Comments

@meowhunter
Copy link

What problem does this feature solve?

Right now if there is no search result found, icon with text shown, but if i want to change that icon, i cant do that, because i can pass just string to [nzNotFoundContent]

What does the proposed API look like?

< nz-select nzShowSearch [nzNotFoundContent]t="notFound" >
.... [options]
< /nz-select >
<ng-template #notFound>

@meowhunter meowhunter changed the title templateRef support for nzNotFoundContent in nz-select templateRef support for nzNotFoundContent in documentation Jun 13, 2019
@meowhunter
Copy link
Author

Actually [nzNotFoundContent] does support templateRef but it says string in documentation and its a bit confusing

@wzhudev wzhudev added Component: Select Good First Issue Issues recommended for first-time contributor labels Jun 14, 2019
@vthinkxie vthinkxie self-assigned this Jun 14, 2019
@darshanrampatel
Copy link
Contributor

See PR #3577

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Select Good First Issue Issues recommended for first-time contributor
Projects
None yet
Development

No branches or pull requests

4 participants