Skip to content

feat(module:tree-select): add nzSelectedTemplate option#8923

Open
powerleks wants to merge 1 commit intoNG-ZORRO:masterfrom
powerleks:tree-select-custom-template
Open

feat(module:tree-select): add nzSelectedTemplate option#8923
powerleks wants to merge 1 commit intoNG-ZORRO:masterfrom
powerleks:tree-select-custom-template

Conversation

@powerleks
Copy link

Add nzSelectedTemplate option to support custom template of selected values

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The content of selected values in nz-tree-select component can not be customized.

Issue Number: N/A

What is the new behavior?

The content of selected values can be customized like in nz-select component.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Add `nzSelectedTemplate` option to support custom template of selected values
@powerleks powerleks requested a review from hsuanxyz as a code owner December 11, 2024 20:33
@codecov
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.91%. Comparing base (2e0c78d) to head (5c30a6a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8923   +/-   ##
=======================================
  Coverage   91.91%   91.91%           
=======================================
  Files         554      554           
  Lines       19682    19684    +2     
  Branches     2936     2937    +1     
=======================================
+ Hits        18091    18093    +2     
  Misses       1265     1265           
  Partials      326      326           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants