You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
384 B
HTML
10 lines
384 B
HTML
<div [formGroup]="form">
|
|
<mat-form-field>
|
|
<mat-select formControlName="value" [required]="field.validationRequired">
|
|
<mat-option *ngFor="let opt of field.data.options" [value]="assign(opt)">{{opt.label}}</mat-option>
|
|
</mat-select>
|
|
<mat-error *ngIf="form.get('value').hasError('required')">{{'GENERAL.VALIDATION.REQUIRED' | translate}}</mat-error>
|
|
</mat-form-field>
|
|
|
|
</div>
|