diff --git a/projects/common/src/fm/components/tag-input/tag-input.component.ts b/projects/common/src/fm/components/tag-input/tag-input.component.ts index 102cfbe..d121750 100644 --- a/projects/common/src/fm/components/tag-input/tag-input.component.ts +++ b/projects/common/src/fm/components/tag-input/tag-input.component.ts @@ -2,7 +2,7 @@ import {Component, ElementRef, forwardRef, Input, ViewChild} from '@angular/core import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms'; import {Observable, of} from 'rxjs'; import {catchError, debounceTime, distinctUntilChanged, switchMap, tap} from 'rxjs/operators'; -import {TypeaheadService} from '@farmmaps/common'; +import {TypeaheadService} from '../../services/typeahead.service'; import {NgbTypeahead} from '@ng-bootstrap/ng-bootstrap'; @Component({ @@ -90,7 +90,7 @@ export class TagInputComponent implements ControlValueAccessor { } propagateChange = (_: any) => { - } + }; registerOnChange(fn) { this.propagateChange = fn; @@ -110,7 +110,7 @@ export class TagInputComponent implements ControlValueAccessor { })) ), tap(() => this.searching = false) - ) + ); writeValue(value: any) { this.tags = value;