AW-3836 fix build
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
0c4259d72e
commit
9bbde64147
@ -2,7 +2,7 @@ import {Component, ElementRef, forwardRef, Input, ViewChild} from '@angular/core
|
|||||||
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';
|
import {ControlValueAccessor, NG_VALUE_ACCESSOR} from '@angular/forms';
|
||||||
import {Observable, of} from 'rxjs';
|
import {Observable, of} from 'rxjs';
|
||||||
import {catchError, debounceTime, distinctUntilChanged, switchMap, tap} from 'rxjs/operators';
|
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';
|
import {NgbTypeahead} from '@ng-bootstrap/ng-bootstrap';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
@ -90,7 +90,7 @@ export class TagInputComponent implements ControlValueAccessor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
propagateChange = (_: any) => {
|
propagateChange = (_: any) => {
|
||||||
}
|
};
|
||||||
|
|
||||||
registerOnChange(fn) {
|
registerOnChange(fn) {
|
||||||
this.propagateChange = fn;
|
this.propagateChange = fn;
|
||||||
@ -110,7 +110,7 @@ export class TagInputComponent implements ControlValueAccessor {
|
|||||||
}))
|
}))
|
||||||
),
|
),
|
||||||
tap(() => this.searching = false)
|
tap(() => this.searching = false)
|
||||||
)
|
);
|
||||||
|
|
||||||
writeValue(value: any) {
|
writeValue(value: any) {
|
||||||
this.tags = value;
|
this.tags = value;
|
||||||
|
Loading…
Reference in New Issue
Block a user