Skip to content

Commit

Permalink
Merge pull request #10102 from luehmann/master
Browse files Browse the repository at this point in the history
Fixed #10101 - TriStateCheckbox null state has false state icon
  • Loading branch information
yigitfindikli committed Apr 14, 2021
2 parents 59510d4 + a3c56b1 commit 80b4f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/tristatecheckbox/tristatecheckbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const TRISTATECHECKBOX_VALUE_ACCESSOR: any = {
</div>
<div class="p-checkbox-box" (click)="onClick($event,input)" role="checkbox" [attr.aria-checked]="value === true"
[ngClass]="{'p-highlight':value!=null,'p-disabled':disabled,'p-focus':focused}">
<span class="p-checkbox-icon" [ngClass]="value==true ? checkboxTrueIcon : checkboxFalseIcon"></span>
<span class="p-checkbox-icon" [ngClass]="value===true ? checkboxTrueIcon : value === false ? checkboxFalseIcon : ''"></span>
</div>
</div>
<label class="p-checkbox-label" (click)="onClick($event,input)"
Expand Down

0 comments on commit 80b4f15

Please sign in to comment.