I am getting the data from API as childDob: "23/10/2019" how to show this in .html
here is my frontend code is
<input type="date" [(ngModel)]="allUpdate.childDob" required>
How to do this? Any help.
You can try with date pipe like :
<input type="date" [(ngModel)]="allUpdate.childDob | date: 'M/d/yy'" required>
For more details : https://angular.io/api/common/DatePipe