Ng-zorro-antd: nzCustomContent support for nz-select too

Created on 21 Feb 2019  ·  6Comments  ·  Source: NG-ZORRO/ng-zorro-antd

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 >

Select 👨‍🏭 Some one working on this

Most helpful comment

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

All 6 comments

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

Yes, this feature is very useful.

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

@thinkdj thanks.This is a useful feature

@vthinkxie will it release in next version?

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

Was this page helpful?
0 / 5 - 0 ratings