Skip to content

Commit

Permalink
fix(module: cascader): fix custom render with nzClear
Browse files Browse the repository at this point in the history
  • Loading branch information
simplejason committed Jun 17, 2018
1 parent 1a4332a commit 15d263f
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 15d263f

Please sign in to comment.