I have a FormGroup that takes date from a date input.
FormControl:
dob: new FormControl(new Date()),
Assigning new Date() to get the default date, in case no date is selected.
Template:
<input type="date" formControlName="dob">
However, when I am using patchValue to populate the date (from a previously persisted object), it is not workning/showing up in the date input tag's text (in the webpage). What am I missing?