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

nzCustomContent support for nz-select too #2946

Closed
thinkdj opened this issue Feb 21, 2019 · 6 comments
Closed

nzCustomContent support for nz-select too #2946

thinkdj opened this issue Feb 21, 2019 · 6 comments
Labels
Component: Select 👨‍🏭 Some one working on this A community member has started working on this

Comments

@thinkdj
Copy link

thinkdj commented Feb 21, 2019

What problem does this feature solve?

It's great that we can customize the content of nz-option. However, that same custom-content functionality is missing for the selected item in nz-select

What does the proposed API look like?

< nz-select nzCustomContent="selectedValueTemplate" >
.... [options]
< /nz-select >

@andrew-yangy
Copy link
Contributor

It looks a very reasonable one, our team is struggling with the same requirement atm, happy to make a pr for it.

@caoyuanqi
Copy link

Yes, this feature is very useful.

@vthinkxie
Copy link
Member

Hi @ddvkid
Just feel free to submit pr :)
thanks for your contribution!

@ishowman
Copy link

@thinkdj thanks.This is a useful feature

@ishowman
Copy link

@vthinkxie will it release in next version?

andrew-yangy added a commit to andrew-yangy/ng-zorro-antd that referenced this issue Mar 28, 2019
@vthinkxie vthinkxie removed their assignment Apr 18, 2019
@vthinkxie vthinkxie added the 👨‍🏭 Some one working on this A community member has started working on this label Apr 18, 2019
@thinkdj
Copy link
Author

thinkdj commented May 28, 2019

This was done by ~March 11 by ddvkid. When can we expect a merge ?

andrew-yangy added a commit to andrew-yangy/ng-zorro-antd that referenced this issue Jun 20, 2019
andrew-yangy added a commit to andrew-yangy/ng-zorro-antd that referenced this issue Jun 20, 2019
andrew-yangy added a commit to andrew-yangy/ng-zorro-antd that referenced this issue Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Select 👨‍🏭 Some one working on this A community member has started working on this
Projects
None yet
Development

No branches or pull requests

6 participants