From b1866adbc57ad818bae16234c2ca365c5cbdbb68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Jona=C5=A1?= Date: Wed, 27 Dec 2017 16:21:10 +0100 Subject: [PATCH] (fix): Refresh matches on removal. Fixes #22 --- src/typeahead.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/typeahead.component.ts b/src/typeahead.component.ts index 831c4ac..501d1db 100644 --- a/src/typeahead.component.ts +++ b/src/typeahead.component.ts @@ -450,6 +450,7 @@ export class TypeaheadComponent implements ControlValueAccessor, AfterViewInit, } else { this.value = this.values.slice(0, index).concat(this.values.slice(index + 1)).map(this.extractIdentifier.bind(this)); } + this._inputChangeEvent.emit(this._input.value); this._input.focus(); } }