argos/dmp-frontend/src/app/shared/components/external-items/external-item-listing/external-item-listing.compo...

21 lines
920 B
HTML
Raw Normal View History

2018-05-28 11:50:42 +02:00
<div>
<div class="suggestions">
<div fxLayout="row">
<mat-form-field class="fxItems">
<mat-select placeholder="Sources" [(ngModel)]="choice" (selectionChange)="selectionChange($event)">
<mat-option *ngFor="let option of options" [value]="option.key">
{{ option.label }}
</mat-option>
</mat-select>
</mat-form-field>
<app-external-item class="fxItems" [autoCompleteConfiguration]="autoCompleteConfiguration" [formGroup]="formGroup" [displayFunction]="displayFunction"
[placeholder]="placeholder" (onItemChange)="this.onItemChangeFunc($event)" [formCtrl]="formControl" [disabled]="disabled">
</app-external-item>
</div>
<div fxLayout="row" *ngFor="let suggestion of formGroup.controls">
<ng-container *ngTemplateOutlet="parentTemplate; context: { $implicit: suggestion }">
</ng-container>
</div>
</div>
</div>