rosslavery / angular2-tag-input

Tag input component for Angular 2
45 stars 42 forks source link

Update tag-input-autocomplete.component.ts #33

Open JunusErgin opened 7 years ago

JunusErgin commented 7 years ago

The functions handleUpArrow() and handleDownArrow() did return a false in some cases for some reasons. If the selectedItemIndex is not null, nothing gets returned. This is against good code style, throws tslint error and crashes the AOT build.