Created
April 17, 2024 16:38
-
-
Save zzpzaf/a17f258fe17983f87d32ede507a99e66 to your computer and use it in GitHub Desktop.
dynamicform1_datetime.component.html_02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- <p>datetime works!</p> --> | |
<mat-form-field> | |
<div [formGroup]="fGroup" class="mat-dtpicker"> | |
<mat-label>{{ field.fieldLabel }}</mat-label> | |
<mtx-datetimepicker | |
#datetimePicker | |
[type]="mtxType" | |
> | |
</mtx-datetimepicker> | |
<input | |
matInput | |
[mtxDatetimepicker]="datetimePicker" | |
formControlName="{{ field.controlName }}" | |
/> | |
<mtx-datetimepicker-toggle | |
[for]="datetimePicker" | |
matSuffix | |
> | |
</mtx-datetimepicker-toggle> | |
</div> | |
</mat-form-field> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment