<div class="dataset-dmp-selector" [formGroup]="formGroup" *ngIf="formGroup">
	<mat-card>
		<div>
			<mat-form-field class="col-md-12">
				<app-single-auto-complete [required]="true" [formControl]="formGroup.get('dmp')" placeholder="{{'DATASET-CREATE-WIZARD.FIRST-STEP.PLACEHOLDER' | translate}}"
				 [configuration]="dmpAutoCompleteConfiguration">
				</app-single-auto-complete>
			</mat-form-field>
		</div>
		<div>
			<mat-form-field class="col-md-12" *ngIf="availableProfiles.length > 1">
				<mat-select (selectionChange)="datasetChanged($event)" placeholder=" {{'DATASET-WIZARD.FIRST-STEP.PROFILE'| translate}}" [required]="true" formControlName="datasetProfile">
					<mat-option *ngFor="let datasetProfile of availableProfiles" [value]="datasetProfile">
						{{datasetProfile.label}}
					</mat-option>
				</mat-select>
			</mat-form-field>
		</div>
	</mat-card>
</div>
