From e3f48548a1a2516e60328d4536da61e3632d51d3 Mon Sep 17 00:00:00 2001 From: Dmitriy Shekhovtsov Date: Fri, 3 Feb 2017 14:30:59 +0200 Subject: [PATCH] fix(typeahead): allow to work with formControl fixes #1595 --- src/typeahead/typeahead.directive.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/typeahead/typeahead.directive.ts b/src/typeahead/typeahead.directive.ts index 18fbfe6276..caff95c402 100644 --- a/src/typeahead/typeahead.directive.ts +++ b/src/typeahead/typeahead.directive.ts @@ -18,11 +18,7 @@ import { ComponentLoaderFactory, ComponentLoader } from '../component-loader'; /* tslint:disable-next-line */ const KeyboardEvent = (global as any).KeyboardEvent as KeyboardEvent; -@Directive({ - /* tslint:disable */ - selector: '[typeahead][ngModel],[typeahead][formControlName]' - /* tslint:enable */ -}) +@Directive({selector: '[typeahead]'}) export class TypeaheadDirective implements OnInit, OnDestroy { /** options source, can be Array of strings, objects or an Observable for external matching process */ @Input() public typeahead: any;