initial version of the query autocompletion

Missing features at this point:
1. No suggestions when the input gets the focus.
2. Suggestions are not shown after selecting a suggestion.
This commit is contained in:
2019-10-13 10:35:38 +02:00
parent 47d8387fec
commit a3099d4981
9 changed files with 132 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
import { Component, OnInit } from '@angular/core';
import { PlotService, PlotType } from '../plot.service';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
import { FormControl } from '@angular/forms';
@@ -30,7 +29,7 @@ export class VisualizationPageComponent implements OnInit {
query: string;
constructor(private plotService: PlotService, private http: HttpClient) {
constructor(private plotService: PlotService) {
}
ngOnInit() {