I am new to angular. I have an input with type date
. How will I bind the date to this input?
<input type="date" class="form-control" formControlName="startDateInput">
i tried the following but it didn't work:
this.createForm.patchValue({
startDateInput:this.resourceData['period'].start,
});
please help to do this