angular-material-components
angular-material-components copied to clipboard
[Angular 15] check button issue
When i open the date-time picker the check button doesn't load and the time is not displayed
after i click on the date-time picker the timer loads but the validations work each time i click on the increment buttons
<mat-label>your date</mat-label>
<input
matInput
[ngxMatDatetimePicker]="picker"
placeholder="Choose a date"
formControlName="$yourFormName"
/>
<mat-datepicker-toggle
matSuffix
[for]="$any(picker)"
></mat-datepicker-toggle>
<ngx-mat-datetime-picker
#picker
[showSpinners]="showSpinners"
[showSeconds]="showSeconds"
[stepHour]="stepHour"
[stepMinute]="stepMinute"
[stepSecond]="stepSecond"
[touchUi]="touchUi"
[color]="color"
[enableMeridian]="enableMeridian"
>
<ngx-mat-datepicker-actions>
<button mat-button ngxMatDatepickerCancel>Cancel</button>
<button mat-raised-button color="primary" ngxMatDatepickerApply>Apply</button>
</ngx-mat-datepicker-actions>
</ngx-mat-datetime-picker>
</mat-form-field>
as the documentation says you need to add those buttons above ⬆️! This is tested and working in angular 15
facing same issue
"@angular-material-components/datetime-picker": "^15.0.0", "@angular-material-components/moment-adapter": "^15.0.0",