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 Apr 17, 2019
1 parent 404d9e1 commit 513bd4f
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 @@ -25,7 +25,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 @@ -36,10 +36,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 @@ -50,9 +50,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 513bd4f

Please sign in to comment.