We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8d02d9 + 8eabd78 commit 5da9689Copy full SHA for 5da9689
projects/igniteui-angular/src/lib/badge/badge.component.html
@@ -1,4 +1,4 @@
1
-<span *ngIf="value && !icon" class="igx-badge__value">{{value}}</span>
+<span *ngIf="value || value === 0 && !icon" class="igx-badge__value">{{value}}</span>
2
<igx-icon *ngIf="icon && !iconSet">{{icon}}</igx-icon>
3
<igx-icon *ngIf="icon && iconSet" [family]="iconSet" [name]="icon">{{icon}}</igx-icon>
4
<ng-content></ng-content>
0 commit comments