Skip to content

Commit

Permalink
(fix): Refresh matches on removal. Fixes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Dec 27, 2017
1 parent d0e33cc commit b1866ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typeahead.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit b1866ad

Please sign in to comment.