NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.87k stars 3.93k forks source link

TreeSelect inherits all properties of select and tree #5687

Open dansinian opened 4 years ago

dansinian commented 4 years ago

What problem does this feature solve?

Tree : nzSearchFunc, nzSearchValueChange Select: nzDropdownRender I can customize the filtering method.

What does the proposed API look like?

<nz-tree-select [nzSearchFunc]="searchChangeFun" (nzSearchValueChange)="searchValueChange($event)" [nzDropdownRender]="renderTemplate"> </

<ng-template #renderTemplate>

 <div class="container">
      <input type="text" nz-input #inputElement />
      <a class="add-item" ><i nz-icon nzType="plus"></i> Add item</a>
  </div>

python-lee commented 3 years ago

What problem does this feature solve?

Tree : nzSearchFunc, nzSearchValueChange Select: nzDropdownRender I can customize the filtering method.

What does the proposed API look like?

<nz-tree-select [nzSearchFunc]="searchChangeFun" (nzSearchValueChange)="searchValueChange($event)" [nzDropdownRender]="renderTemplate"> </

<ng-template #renderTemplate>

<input type="text" nz-input #inputElement /> Add item

您好,您这样的问题是怎么解决了的?

hydra1983 commented 3 years ago

any progress?

jtoure-to commented 2 years ago

any news ?