ion-datetime is not binding to formControlName
Date of Birth
private createForm() {
this.userForm = new FormGroup(
{
email: new FormControl(null, PresetValidators.email(true)),
dateOfBirth: new FormControl(new Date().getTime(), buildValidator({ required: true })),
},
{ updateOn: “blur” }
);