fix reference-field label bug
This commit is contained in:
parent
ce1cb02d43
commit
0a473bfd04
|
@ -1,10 +1,5 @@
|
|||
<mat-form-field class="w-100" *ngIf="multipleAutoCompleteSearchConfiguration">
|
||||
<ng-container *ngIf="label">
|
||||
<mat-label>{{label}}</mat-label>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="!label">
|
||||
<mat-label>{{'REFERENCE-FIELD.PLACEHOLDER' | translate}} {{enumUtils.toReferenceTypeString(referenceType)}}</mat-label>
|
||||
</ng-container>
|
||||
<mat-label>{{label ?? enumUtils.toReferenceTypeString(referenceType)}}</mat-label>
|
||||
<app-multiple-auto-complete placeholder = "{{ placeholder ?? enumUtils.toReferenceTypeString(referenceType)}}" [formControl]="form" [configuration]="multipleAutoCompleteSearchConfiguration">
|
||||
</app-multiple-auto-complete>
|
||||
<mat-error *ngIf="form.hasError('backendError')">{{form.getError('backendError').message}}</mat-error>
|
||||
|
|
Loading…
Reference in New Issue