So the value that comes from the database is populated in the
<input matInput disabled
name="dataInicio" [(ngModel)]="empresa.dataInicio"
placeholder="Data início de atividade do banco *">
Not so:
<input matInput [matDatepicker]="dataInicio" disabled
name="dataInicio" [(ngModel)]="empresa.dataInicio"
placeholder="Data início de atividade do banco *">
<mat-datepicker-toggle matSuffix [for]="dataInicio"></mat-datepicker-toggle>
<mat-datepicker #dataInicio disabled="false"></mat-datepicker>
In the template this fields is like this: dataHome: Date; or so dataHome: string; , is not populated.
What can it be?