prepare sending of plot requests
- values for query and date range were not propagated to the model
This commit is contained in:
@@ -1,18 +1,19 @@
|
||||
<div id="visualization">
|
||||
<div id="query-box">
|
||||
<pdb-query-autocomplete ></pdb-query-autocomplete>
|
||||
<pdb-query-autocomplete #query></pdb-query-autocomplete>
|
||||
</div>
|
||||
<div id="filters">
|
||||
<div id="filterpanel">
|
||||
<mat-form-field class="mat-field-full-width">
|
||||
<mat-label>Date Range:</mat-label>
|
||||
<input matInput [formControl]="dateRange" name="dates" />
|
||||
<input matInput id="search-date-range" value="dateRange" name="dates" (input)="changeDate($event)" />
|
||||
<input type="hidden" id="hidden-search-date-range" [(ngModel)]="hiddenSearchDateRange" />
|
||||
</mat-form-field>
|
||||
|
||||
|
||||
<mat-form-field class="mat-field-full-width">
|
||||
<mat-label>Type:</mat-label>
|
||||
<mat-select [formControl]="selectedPlotType">
|
||||
<mat-option *ngFor="let plotType of plotTypes" [value]="plotType.name">
|
||||
<mat-option *ngFor="let plotType of plotTypes" [value]="plotType">
|
||||
<img src="assets/img/{{plotType.icon}}.svg" class="icon-select" /> {{plotType.name}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
@@ -20,9 +21,9 @@
|
||||
|
||||
<mat-form-field>
|
||||
<mat-label>Combine with:</mat-label>
|
||||
<mat-select [(value)]="selectedCombinePlotType">
|
||||
<mat-select [formControl]="selectedCombinePlotType">
|
||||
<mat-option>-</mat-option>
|
||||
<mat-option *ngFor="let plotType of combinePlotTypes" [value]="plotType.name">
|
||||
<mat-option *ngFor="let plotType of combinePlotTypes" [value]="plotType">
|
||||
<img src="assets/img/{{plotType.icon}}.svg" class="icon-select" /> {{plotType.name}}
|
||||
</mat-option>
|
||||
</mat-select>
|
||||
|
||||
Reference in New Issue
Block a user