small fix
This commit is contained in:
parent
285978fb58
commit
59e70de4f8
|
@ -193,7 +193,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-auto d-flex"><mat-icon [ngClass]="{'drag-handle-disabled': formGroup.disabled}" cdkDragHandle class="drag-handle">drag_indicator</mat-icon></div>
|
<div class="col-auto d-flex"><mat-icon [ngClass]="{'drag-handle-disabled': formGroup.disabled}" cdkDragHandle class="drag-handle">drag_indicator</mat-icon></div>
|
||||||
<div class="col-auto">
|
<div class="col-auto">
|
||||||
<mat-button-toggle-group name="fontStyle" aria-label="Font Style" [formContol]= "contact.get('contactType')">
|
<mat-button-toggle-group name="fontStyle" aria-label="Font Style" [formControl]= "contact.get('contactType')">
|
||||||
<div *ngFor="let contactType of dmpContactTypeEnumValues">
|
<div *ngFor="let contactType of dmpContactTypeEnumValues">
|
||||||
<mat-button-toggle class="lang-button" [value]="contactType">{{enumUtils.toDmpContactTypeString(contactType)}}</mat-button-toggle>
|
<mat-button-toggle class="lang-button" [value]="contactType">{{enumUtils.toDmpContactTypeString(contactType)}}</mat-button-toggle>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -337,7 +337,7 @@ export class DmpContactEditorModel implements DmpContactPersist {
|
||||||
firstName: string;
|
firstName: string;
|
||||||
lastName: string;
|
lastName: string;
|
||||||
email: string;
|
email: string;
|
||||||
contactType: DmpContactType;
|
contactType: DmpContactType= DmpContactType.Internal;
|
||||||
|
|
||||||
protected formBuilder: UntypedFormBuilder = new UntypedFormBuilder();
|
protected formBuilder: UntypedFormBuilder = new UntypedFormBuilder();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue