Just a few changes

This commit is contained in:
2018-11-30 08:38:41 -05:00
parent 436792540d
commit 58b6b9d105
3 changed files with 15 additions and 7 deletions

View File

@ -27,13 +27,14 @@
<!-- Input for selecting holdings -->
<div class="p-3">
<mat-form-field class="w-50" appearance="fill">
<mat-label>Add Holding</mat-label>
<mat-chip-list #chipList>
<mat-chip *ngFor="let holding of graphHoldings; let i = index" [removable]="true" (removed)="graphHoldings.splice(i, 1); updateGraph()">
{{holding}}
<mat-icon matChipRemove>cancel</mat-icon>
</mat-chip>
<input #holdingInput class="w-100"
placeholder="Add Holdings"
placeholder="Search"
[matAutocomplete]="auto"
[matChipInputFor]="chipList"
(keyup)="search($event.target.value)">