Skip to content

Commit

Permalink
fix: checkbox for reverted (#2604)
Browse files Browse the repository at this point in the history
  • Loading branch information
rengare committed Jun 3, 2020
1 parent 313b97b commit 5cee475
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Expand Up @@ -13,7 +13,7 @@
(keydown)="checkByKey($event)"
(keyup)="$event.stopPropagation()"
/>
<label class="fd-checkbox__label" (click)="checkByClick($event)" [class.fd-checkbox__label--compact]="compact">
<label class="fd-checkbox__label" [for]="inputId" [class.fd-checkbox__label--compact]="compact">
{{ label }}
<ng-container *ngIf="!label">
<ng-content></ng-content>
Expand Down
1 change: 0 additions & 1 deletion libs/core/src/lib/checkbox/checkbox/checkbox.component.ts
Expand Up @@ -133,7 +133,6 @@ export class CheckboxComponent implements ControlValueAccessor {

/** @hidden Updates checkbox Indeterminate state on mouse click on IE11 */
public checkByClick(event: Event) {
event.stopPropagation();
this.nextValue();
}

Expand Down

0 comments on commit 5cee475

Please sign in to comment.