@@ -1710,7 +1710,7 @@ describe('MatSelectionList with forms', () => {
17101710 }
17111711 </mat-selection-list>` ,
17121712 imports : [ MatListModule ] ,
1713- changeDetection : ChangeDetectionStrategy . Eager ,
1713+ changeDetection : ChangeDetectionStrategy . Default ,
17141714} )
17151715class SelectionListWithListOptions {
17161716 showLastOption = true ;
@@ -1739,7 +1739,7 @@ class SelectionListWithListOptions {
17391739 </mat-list-option>
17401740 </mat-selection-list>` ,
17411741 imports : [ MatListModule ] ,
1742- changeDetection : ChangeDetectionStrategy . Eager ,
1742+ changeDetection : ChangeDetectionStrategy . Default ,
17431743} )
17441744class SelectionListWithCheckboxPositionAfter { }
17451745
@@ -1760,7 +1760,7 @@ class SelectionListWithCheckboxPositionAfter {}
17601760 </mat-list-option>
17611761 </mat-selection-list>` ,
17621762 imports : [ MatListModule ] ,
1763- changeDetection : ChangeDetectionStrategy . Eager ,
1763+ changeDetection : ChangeDetectionStrategy . Default ,
17641764} )
17651765class SelectionListWithListDisabled {
17661766 disabled : boolean = true ;
@@ -1772,7 +1772,7 @@ class SelectionListWithListDisabled {
17721772 <mat-list-option>Inbox</mat-list-option>
17731773 </mat-selection-list>` ,
17741774 imports : [ MatListModule ] ,
1775- changeDetection : ChangeDetectionStrategy . Eager ,
1775+ changeDetection : ChangeDetectionStrategy . Default ,
17761776} )
17771777class DisabledSingleSelectionList { }
17781778
@@ -1783,7 +1783,7 @@ class DisabledSingleSelectionList {}
17831783 </mat-selection-list>
17841784 ` ,
17851785 imports : [ MatListModule ] ,
1786- changeDetection : ChangeDetectionStrategy . Eager ,
1786+ changeDetection : ChangeDetectionStrategy . Default ,
17871787} )
17881788class SelectionListWithDisabledOption {
17891789 disableItem : boolean = false ;
@@ -1798,7 +1798,7 @@ class SelectionListWithDisabledOption {
17981798 <mat-list-option>Not selected - Item #4</mat-list-option>
17991799 </mat-selection-list>` ,
18001800 imports : [ MatListModule ] ,
1801- changeDetection : ChangeDetectionStrategy . Eager ,
1801+ changeDetection : ChangeDetectionStrategy . Default ,
18021802} )
18031803class SelectionListWithSelectedOption { }
18041804
@@ -1809,7 +1809,7 @@ class SelectionListWithSelectedOption {}
18091809 <mat-list-option [selected]="true">Pre-selected - Item #2</mat-list-option>
18101810 </mat-selection-list>` ,
18111811 imports : [ MatListModule ] ,
1812- changeDetection : ChangeDetectionStrategy . Eager ,
1812+ changeDetection : ChangeDetectionStrategy . Default ,
18131813} )
18141814class SingleSelectionListWithSelectedOption { }
18151815
@@ -1819,7 +1819,7 @@ class SingleSelectionListWithSelectedOption {}
18191819 <mat-list-option [selected]="true" [value]="itemValue">Item</mat-list-option>
18201820 </mat-selection-list>` ,
18211821 imports : [ MatListModule ] ,
1822- changeDetection : ChangeDetectionStrategy . Eager ,
1822+ changeDetection : ChangeDetectionStrategy . Default ,
18231823} )
18241824class SelectionListWithSelectedOptionAndValue {
18251825 itemValue = 'item1' ;
@@ -1836,7 +1836,7 @@ class SelectionListWithSelectedOptionAndValue {
18361836 }
18371837 </mat-selection-list>` ,
18381838 imports : [ MatListModule , FormsModule , ReactiveFormsModule ] ,
1839- changeDetection : ChangeDetectionStrategy . Eager ,
1839+ changeDetection : ChangeDetectionStrategy . Default ,
18401840} )
18411841class SelectionListWithModel {
18421842 modelChangeSpy = jasmine . createSpy ( 'model change spy' ) ;
@@ -1859,7 +1859,7 @@ class SelectionListWithModel {
18591859 }
18601860 ` ,
18611861 imports : [ MatListModule , FormsModule , ReactiveFormsModule ] ,
1862- changeDetection : ChangeDetectionStrategy . Eager ,
1862+ changeDetection : ChangeDetectionStrategy . Default ,
18631863} )
18641864class SelectionListWithFormControl {
18651865 formControl = new FormControl ( [ ] as string [ ] ) ;
@@ -1874,7 +1874,7 @@ class SelectionListWithFormControl {
18741874 <mat-list-option value="opt2" selected>Option 2</mat-list-option>
18751875 </mat-selection-list>` ,
18761876 imports : [ MatListModule , FormsModule , ReactiveFormsModule ] ,
1877- changeDetection : ChangeDetectionStrategy . Eager ,
1877+ changeDetection : ChangeDetectionStrategy . Default ,
18781878} )
18791879class SelectionListWithPreselectedOption {
18801880 selectedOptions ! : string [ ] ;
@@ -1887,7 +1887,7 @@ class SelectionListWithPreselectedOption {
18871887 <mat-list-option value="opt2" selected>Option 2</mat-list-option>
18881888 </mat-selection-list>` ,
18891889 imports : [ MatListModule , FormsModule , ReactiveFormsModule ] ,
1890- changeDetection : ChangeDetectionStrategy . Eager ,
1890+ changeDetection : ChangeDetectionStrategy . Default ,
18911891} )
18921892class SelectionListWithPreselectedOptionAndModel {
18931893 selectedOptions = [ 'opt1' ] ;
@@ -1916,7 +1916,7 @@ class SelectionListWithPreselectedFormControlOnPush {
19161916 }
19171917 </mat-selection-list>` ,
19181918 imports : [ MatListModule , FormsModule , ReactiveFormsModule ] ,
1919- changeDetection : ChangeDetectionStrategy . Eager ,
1919+ changeDetection : ChangeDetectionStrategy . Default ,
19201920} )
19211921class SelectionListWithCustomComparator {
19221922 @ViewChildren ( MatListOption ) optionInstances ! : QueryList < MatListOption > ;
@@ -1939,7 +1939,7 @@ class SelectionListWithCustomComparator {
19391939 </mat-selection-list>
19401940 ` ,
19411941 imports : [ MatListModule ] ,
1942- changeDetection : ChangeDetectionStrategy . Eager ,
1942+ changeDetection : ChangeDetectionStrategy . Default ,
19431943} )
19441944class SelectionListWithAvatar {
19451945 togglePosition ! : MatListOptionTogglePosition ;
@@ -1955,7 +1955,7 @@ class SelectionListWithAvatar {
19551955 </mat-selection-list>
19561956 ` ,
19571957 imports : [ MatListModule ] ,
1958- changeDetection : ChangeDetectionStrategy . Eager ,
1958+ changeDetection : ChangeDetectionStrategy . Default ,
19591959} )
19601960class SelectionListWithIcon {
19611961 togglePosition ! : MatListOptionTogglePosition ;
@@ -1971,7 +1971,7 @@ class SelectionListWithIcon {
19711971 }
19721972 </mat-selection-list>` ,
19731973 imports : [ MatListModule ] ,
1974- changeDetection : ChangeDetectionStrategy . Eager ,
1974+ changeDetection : ChangeDetectionStrategy . Default ,
19751975} )
19761976class SelectionListWithIndirectChildOptions {
19771977 @ViewChildren ( MatListOption ) optionInstances ! : QueryList < MatListOption > ;
@@ -1984,7 +1984,7 @@ class SelectionListWithIndirectChildOptions {
19841984 </mat-selection-list>
19851985` ,
19861986 imports : [ MatListModule ] ,
1987- changeDetection : ChangeDetectionStrategy . Eager ,
1987+ changeDetection : ChangeDetectionStrategy . Default ,
19881988} )
19891989class ListOptionWithTwoWayBinding {
19901990 selected = false ;
0 commit comments