Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 8f4ef37

Browse files
committed
fix(checkbox): Remove ChangeDetectionStategy as it breaks ngModel binding
1 parent 0bc4ae3 commit 8f4ef37

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/checkbox/checkbox.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {
22
AfterViewInit,
3-
ChangeDetectionStrategy,
43
Component,
54
ElementRef,
65
EventEmitter,
@@ -35,7 +34,6 @@ type UnlistenerMap = WeakMap<EventListener, Function>;
3534
templateUrl: './checkbox.html',
3635
styles: [String(MDC_CHECKBOX_STYLES)],
3736
encapsulation: ViewEncapsulation.None,
38-
changeDetection: ChangeDetectionStrategy.OnPush,
3937
providers: [
4038
MD_CHECKBOX_CONTROL_VALUE_ACCESSOR,
4139
Ripple

0 commit comments

Comments
 (0)