prepare sending of plot requests

- values for query and date range were not
  propagated to the model
This commit is contained in:
2019-10-26 10:32:11 +02:00
parent 7636781315
commit f235890cc1
7 changed files with 156 additions and 63 deletions

View File

@@ -2,16 +2,16 @@
type="text"
id="query-autocomplete-input"
placeholder="Query"
[formControl]="query"
[matAutocomplete]="auto"
[formControl]="queryField"
[matAutocomplete]="auto"
(keyup)="onKey($event)"
(focus)="onKey($event)"/>
(mouseup)="onKey($event)"/>
<mat-autocomplete
#auto="matAutocomplete"
[displayWith]="displaySuggestion"
>
<mat-option *ngFor="let suggestion of filteredSuggestions | async"
[value]="suggestion">
{{suggestion.value}}
</mat-option>
</mat-autocomplete>
<mat-option *ngFor="let suggestion of filteredSuggestions | async"
[value]="suggestion">
{{suggestion.value}}
</mat-option>
</mat-autocomplete>