I want to allow user edit only time in my datetime form-field, but when user submits form the value is null
<form [formGroup]="activityForm" (ngSubmit)="onSubmit()">
<mat-form-field>
<input matInput type="time" formControlName="dateTo">
</mat-form-field>
</form>
I found that this works when the input type is set to "text" but with "time" somewhat does not.