2018-05-28 11:50:42 +02:00
|
|
|
<div>
|
2018-08-24 17:21:02 +02:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-5">
|
|
|
|
<mat-form-field >
|
2018-08-31 10:14:56 +02:00
|
|
|
<mat-select placeholder="Sources" [(ngModel)]="choice" (selectionChange)="selectionChange($event)" [disabled]="viewOnly">
|
2018-08-24 17:21:02 +02:00
|
|
|
<mat-option *ngFor="let option of options" [value]="option.key">
|
|
|
|
{{ option.label }}
|
|
|
|
</mat-option>
|
|
|
|
</mat-select>
|
2018-08-31 10:14:56 +02:00
|
|
|
</mat-form-field>
|
2018-08-24 17:21:02 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<app-external-item class="col-md-7" [autoCompleteConfiguration]="autoCompleteConfiguration" [formGroup]="formGroup" [displayFunction]="displayFunction"
|
|
|
|
[placeholder]="placeholder" [subtitleFunction]="subtitleFunction" (onItemChange)="this.onItemChangeFunc($event)" [formCtrl]="formControl"
|
|
|
|
[disabled]="disabled">
|
|
|
|
</app-external-item>
|
2018-08-31 10:14:56 +02:00
|
|
|
</div>
|
2018-05-28 11:50:42 +02:00
|
|
|
</div>
|
2018-07-11 15:47:36 +02:00
|
|
|
<div fxLayout="row" *ngFor="let suggestion of formGroup['controls']; let i = index">
|
2018-06-05 10:18:01 +02:00
|
|
|
<ng-container *ngTemplateOutlet="parentTemplate; context: { $implicit: suggestion, index: i,function: this.deleteItem.bind(this) }">
|
2018-05-28 11:50:42 +02:00
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|