2019-01-18 18:03:45 +01:00
|
|
|
<div class="row">
|
|
|
|
<mat-form-field class="col-md-6">
|
2019-06-07 17:21:09 +02:00
|
|
|
<mat-select placeholder="{{'TYPES.EXTERNAL-DATASET-TYPE.SOURCES' | translate}}" [(ngModel)]="choice" (selectionChange)="selectionChange($event)" [disabled]="formArray.disabled">
|
2019-01-18 18:03:45 +01:00
|
|
|
<mat-option *ngFor="let option of options" [value]="option.key">
|
|
|
|
{{ option.label }}
|
|
|
|
</mat-option>
|
|
|
|
</mat-select>
|
|
|
|
</mat-form-field>
|
|
|
|
<mat-form-field class="col-md-6">
|
|
|
|
<app-single-auto-complete [placeholder]="placeholder" [formControl]="formControl" [configuration]="autoCompleteConfiguration">
|
|
|
|
</app-single-auto-complete>
|
2019-08-30 17:06:12 +02:00
|
|
|
<mat-hint>{{ 'DATASET-WIZARD.SECOND-STEP.EXTERNAL-HINT' | translate }}</mat-hint>
|
2019-01-18 18:03:45 +01:00
|
|
|
</mat-form-field>
|
|
|
|
<div class="col-12" *ngIf="formArray">
|
|
|
|
<div class="row" *ngFor="let suggestion of formArray['controls']; let i = index">
|
|
|
|
<ng-container *ngTemplateOutlet="parentTemplate; context: { $implicit: suggestion, index: i,function: this.deleteItem.bind(this) }">
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|