I have application in Angular 8, I have input type date binded with property Date from object in Angular:
<input type="date" [(ngModel)]="day.dayValue" class="form-control" [disabled]="false"/>
And the DayDTO object in TypeScript:
export class DayDTO {
id: number;
name: string;
dayValue: Date;
}
When I set value in this input by hand the property dayValue is set.
But when I want to set input type text by assigning:
this.day.dayValue = res.dayValue
when dayValue comes from controller written in .NET Core:

the input type Date isn't set. When I remove T00:00:00 in string, the input type Date is set
