diff --git a/demo/src/app/app.component.html b/demo/src/app/app.component.html index 3f88c4f..5983d6c 100644 --- a/demo/src/app/app.component.html +++ b/demo/src/app/app.component.html @@ -53,7 +53,6 @@
Multi, fixed
class="form-control" [custom]="false" [multi]="true"> -
Single, complex object
@@ -65,7 +64,6 @@
Single, complex object
class="form-control" idField="code" [complex]="true">
-
Multi, complex object with template
@@ -82,7 +80,6 @@
Multi, complex object with template
{{item.name}} ({{item.code}})
-
Multi, complex with Http call
diff --git a/src/typeahead.component.ts b/src/typeahead.component.ts index 0c97b50..ce8a6d4 100644 --- a/src/typeahead.component.ts +++ b/src/typeahead.component.ts @@ -272,6 +272,7 @@ export class TypeaheadComponent implements ControlValueAccessor, AfterViewInit, while(this.callbackQueue.length) { // take first one and process it this.callbackQueue.shift().apply(this); + this._inputChangeEvent.emit(''); } }); }