update angular to 14
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import {FormControl} from '@angular/forms';
|
||||
import {UntypedFormControl} from '@angular/forms';
|
||||
import {Observable} from 'rxjs';
|
||||
import {startWith, map} from 'rxjs/operators';
|
||||
import {MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
||||
@@ -12,9 +12,9 @@ import { PlotService, PlotType, AutocompleteResult, Suggestion, ResultMode } fro
|
||||
})
|
||||
export class QueryAutocompleteComponent implements OnInit {
|
||||
|
||||
queryField = new FormControl('');
|
||||
queryField = new UntypedFormControl('');
|
||||
|
||||
suggestions = new FormControl();
|
||||
suggestions = new UntypedFormControl();
|
||||
|
||||
filteredSuggestions!: Observable<Suggestion[]>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user