@@ -33,6 +33,8 @@ import {CanDisable, mixinDisabled} from '../core/common-behaviors/disabled';
33
33
import { RxChain , switchMap , startWith } from '../core/rxjs/index' ;
34
34
import { merge } from 'rxjs/observable/merge' ;
35
35
import { CanDisableRipple , mixinDisableRipple } from '../core/common-behaviors/disable-ripple' ;
36
+ import { MATERIAL_COMPATIBILITY_MODE } from '../core/compatibility/compatibility' ;
37
+
36
38
37
39
export class MdSelectionListBase { }
38
40
export const _MdSelectionListMixinBase = mixinDisableRipple ( mixinDisabled ( MdSelectionListBase ) ) ;
@@ -68,14 +70,14 @@ const FOCUSED_STYLE: string = 'mat-list-item-focus';
68
70
} ,
69
71
templateUrl : 'list-option.html' ,
70
72
encapsulation : ViewEncapsulation . None ,
71
- changeDetection : ChangeDetectionStrategy . OnPush
73
+ changeDetection : ChangeDetectionStrategy . OnPush ,
74
+ providers : [ { provide : MATERIAL_COMPATIBILITY_MODE , useValue : false } ] ,
72
75
} )
73
76
export class MdListOption extends _MdListOptionMixinBase
74
77
implements AfterContentInit , OnDestroy , FocusableOption , CanDisableRipple {
75
78
76
79
private _lineSetter : MdLineSetter ;
77
80
private _selected : boolean = false ;
78
- /** Whether the checkbox is disabled. */
79
81
private _disabled : boolean = false ;
80
82
private _value : any ;
81
83
0 commit comments