Skip to content

Commit

Permalink
fix(module:select): fix select disable cursor (NG-ZORRO#3287)
Browse files Browse the repository at this point in the history
  • Loading branch information
vthinkxie authored and andrew-yangy committed Jun 20, 2019
1 parent 11242c1 commit 9645905
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions components/select/nz-select-top-control.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>
<!--show search-->
<div *ngIf="nzShowSearch"
class="ant-select-search ant-select-search--inline">
class="ant-select-search ant-select-search--inline" [style.display]="nzOpen ? 'block' : 'none'">
<div class="ant-select-search__field__wrap">
<ng-template [ngTemplateOutlet]="inputTemplate"></ng-template>
<span class="ant-select-search__field__mirror">{{inputValue}}&nbsp;</span>
Expand All @@ -41,10 +41,10 @@
<ul *ngIf="nzSelectService.isMultipleOrTags">
<ng-container *ngFor="let option of nzSelectService.listOfCachedSelectedOption | slice: 0 : nzMaxTagCount;trackBy:trackValue;">
<li [@zoomMotion]
[nzNoAnimation]="noAnimation?.nzNoAnimation"
[attr.title]="option.nzLabel"
[class.ant-select-selection__choice__disabled]="option.nzDisabled"
class="ant-select-selection__choice">
[nzNoAnimation]="noAnimation?.nzNoAnimation"
[attr.title]="option.nzLabel"
[class.ant-select-selection__choice__disabled]="option.nzDisabled"
class="ant-select-selection__choice">
<div class="ant-select-selection__choice__content">{{ option.nzLabel }}</div>
<span *ngIf="!option.nzDisabled"
class="ant-select-selection__choice__remove"
Expand All @@ -55,9 +55,9 @@
</li>
</ng-container>
<li *ngIf="nzSelectService.listOfCachedSelectedOption.length > nzMaxTagCount"
[@zoomMotion]
[nzNoAnimation]="noAnimation?.nzNoAnimation"
class="ant-select-selection__choice">
[@zoomMotion]
[nzNoAnimation]="noAnimation?.nzNoAnimation"
class="ant-select-selection__choice">
<div class="ant-select-selection__choice__content">
<ng-container *ngIf="nzMaxTagPlaceholder">
<ng-template
Expand Down

0 comments on commit 9645905

Please sign in to comment.