Skip to content

Commit

Permalink
fix(module:cascader): fix empty shown when searching value (#2906)
Browse files Browse the repository at this point in the history
close #2903
  • Loading branch information
Wendell authored and vthinkxie committed Feb 18, 2019
1 parent a29d01d commit 89c94ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/cascader/nz-cascader.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
(mouseleave)="onOptionMouseLeave(option, i, $event)"
(click)="onOptionClick(option, i, $event)">
</li>
<li *ngIf="isSearching"
<li *ngIf="isSearching && !columns[0].length"
class="ant-cascader-menu-item ant-cascader-menu-item-expanded ant-cascader-menu-item-disabled">
<nz-embed-empty [nzComponentName]="'cascader'" [specificContent]="nzNotFoundContent"></nz-embed-empty>
</li>
Expand Down

0 comments on commit 89c94ee

Please sign in to comment.