@@ -33,6 +33,8 @@ import {CanDisable, mixinDisabled} from '../core/common-behaviors/disabled';
3333import { RxChain , switchMap , startWith } from '../core/rxjs/index' ;
3434import { merge } from 'rxjs/observable/merge' ;
3535import { CanDisableRipple , mixinDisableRipple } from '../core/common-behaviors/disable-ripple' ;
36+ import { MATERIAL_COMPATIBILITY_MODE } from '../core/compatibility/compatibility' ;
37+
3638
3739export class MdSelectionListBase { }
3840export const _MdSelectionListMixinBase = mixinDisableRipple ( mixinDisabled ( MdSelectionListBase ) ) ;
@@ -68,14 +70,14 @@ const FOCUSED_STYLE: string = 'mat-list-item-focus';
6870 } ,
6971 templateUrl : 'list-option.html' ,
7072 encapsulation : ViewEncapsulation . None ,
71- changeDetection : ChangeDetectionStrategy . OnPush
73+ changeDetection : ChangeDetectionStrategy . OnPush ,
74+ providers : [ { provide : MATERIAL_COMPATIBILITY_MODE , useValue : false } ] ,
7275} )
7376export class MdListOption extends _MdListOptionMixinBase
7477 implements AfterContentInit , OnDestroy , FocusableOption , CanDisableRipple {
7578
7679 private _lineSetter : MdLineSetter ;
7780 private _selected : boolean = false ;
78- /** Whether the checkbox is disabled. */
7981 private _disabled : boolean = false ;
8082 private _value : any ;
8183
0 commit comments