Skip to content

Commit

Permalink
fix(module:input): fix ng-content nzAddOnBeforeIcon transclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
CygnusRoboticus committed Jun 18, 2019
1 parent 3e04f4b commit 851c32b
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 851c32b

Please sign in to comment.