AW-3836 fix build
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good Details

AW-4620
Mark van der Wal 2022-06-06 12:48:52 +02:00
parent 0c4259d72e
commit 9bbde64147
1 changed files with 3 additions and 3 deletions

View File

@ -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;