Skip to content

Commit

Permalink
fix(module:input): fix ng-content nzAddOnBeforeIcon transclusion (#3597)
Browse files Browse the repository at this point in the history
close #3596
  • Loading branch information
CygnusRoboticus authored and vthinkxie committed Jun 21, 2019
1 parent 2c03fb7 commit a37ec0a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/input/nz-input-group.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
<ng-container *nzStringTemplateOutlet="nzSuffix">{{ nzSuffix }}</ng-container>
</span>
</ng-template>
<ng-template [ngIf]="isGroup" *ngTemplateOutlet="contentTemplate"></ng-template>
<ng-container *ngIf="isGroup">
<ng-template *ngTemplateOutlet="contentTemplate"></ng-template>
</ng-container>
<ng-template #contentTemplate>
<ng-content></ng-content>
</ng-template>
</ng-template>

0 comments on commit a37ec0a

Please sign in to comment.