Skip to content

Commit a6bff55

Browse files
crisbetojelbourn
authored andcommitted
chore: fix autocomplete demo in dev app (#17008)
Fixes the autocomplete demo not working correctly, because some testing changes weren't cleaned up in #15606.
1 parent 46cf45f commit a6bff55

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/dev-app/autocomplete/autocomplete-demo.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import {Component, ViewChild, ViewEncapsulation} from '@angular/core';
9+
import {Component, ViewChild} from '@angular/core';
1010
import {FormControl, NgModel} from '@angular/forms';
1111
import {Observable} from 'rxjs';
1212
import {map, startWith} from 'rxjs/operators';
@@ -26,8 +26,7 @@ export interface StateGroup {
2626
moduleId: module.id,
2727
selector: 'autocomplete-demo',
2828
templateUrl: 'autocomplete-demo.html',
29-
styleUrls: ['autocomplete-demo.css'],
30-
encapsulation: ViewEncapsulation.ShadowDom
29+
styleUrls: ['autocomplete-demo.css']
3130
})
3231
export class AutocompleteDemo {
3332
stateCtrl: FormControl;

0 commit comments

Comments
 (0)