Skip to content

Commit

Permalink
fix(module: cascader): fix custom render with nzClear (#1676)
Browse files Browse the repository at this point in the history
close #1646
  • Loading branch information
Jason authored and vthinkxie committed Jun 22, 2018
1 parent 1a4332a commit c683bc3
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 177 deletions.
4 changes: 3 additions & 1 deletion components/cascader/nz-cascader.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,9 @@ export class NzCascaderComponent implements OnInit, OnDestroy, ControlValueAcces
}

this.labelRenderText = '';
this.isLabelRenderTemplate = false;
// this.isLabelRenderTemplate = false;
// clear custom context
this.labelRenderContext = {};
this.selectedOptions = [];
this.activatedOptions = [];
this.inputValue = '';
Expand Down
Loading

0 comments on commit c683bc3

Please sign in to comment.