Skip to content

Commit

Permalink
fix(datagrid): prevent issues with single select radio in forms
Browse files Browse the repository at this point in the history
See vmware-archive/clarity#5574 for more information.
  • Loading branch information
kevinbuhmann committed Dec 8, 2022
1 parent 446b0c7 commit d99e3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/angular/src/data/datagrid/datagrid-row.html
Expand Up @@ -2,7 +2,7 @@
We need to wrap the #rowContent in label element if we are in rowSelectionMode.
Clicking of that wrapper label will equate to clicking on the whole row, which triggers the checkbox to toggle.
-->
<label class="datagrid-row-clickable" *ngIf="selection.rowSelectionMode" (mousedown)="clearRanges($event)">
<label class="datagrid-row-clickable clr-col-null" *ngIf="selection.rowSelectionMode" (mousedown)="clearRanges($event)">
<clr-expandable-animation [clrExpandTrigger]="expandAnimationTrigger" *ngIf="expand.expandable">
<ng-template [ngTemplateOutlet]="rowContent"></ng-template>
</clr-expandable-animation>
Expand Down

0 comments on commit d99e3b3

Please sign in to comment.