Skip to content

Commit

Permalink
refactor(conditional-rowselectors): add readonly prop to checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
jackofdiamond5 committed Sep 4, 2019
1 parent fb68ec1 commit 88ad83d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<igx-column field="CompanyName" width="20%" dataType="number"></igx-column>

<ng-template igxRowSelector let-rowContext>
<igx-checkbox readonly [checked]="rowContext.selected"
<igx-checkbox [readonly]="true" [checked]="rowContext.selected"
[disabled]="!isSelectionAllowed(rowContext.rowID)"
[aria-label]="rowContext.selected ? 'Deselect row' : 'Select row'">
</igx-checkbox>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</igx-row-island>

<ng-template igxRowSelector let-rowContext>
<igx-checkbox readonly [checked]="rowContext.selected"
<igx-checkbox [readonly]="true" [checked]="rowContext.selected"
[disabled]="!isSelectionAllowed(rowContext.rowID)"
[aria-label]="rowContext.selected ? 'Deselect row' : 'Select row'">
</igx-checkbox>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<igx-column field="OnPTO" width="15%"></igx-column>

<ng-template igxRowSelector let-rowContext>
<igx-checkbox readonly [checked]="rowContext.selected"
<igx-checkbox [readonly]="true" [checked]="rowContext.selected"
[disabled]="!isSelectionAllowed(rowContext.rowID)"
[aria-label]="rowContext.selected ? 'Deselect row' : 'Select row'">
</igx-checkbox>
Expand Down

0 comments on commit 88ad83d

Please sign in to comment.