You must enter a proper date format.
{{userInfoFormGroup.controls.birthDate.errors.date.message}}
If you want to apply conditional validation on 'Admission Date' then you need to add 'birthDate' input as '16/04/1997'.
Conditional Expression with type 'function'
{{userInfoFormGroup.controls.admissionDate.errors.date.message}}
If you want to apply conditional validation on 'Enrollment Date' then you need to add 'birthDate' input as '16/04/1997'.
Conditional Expression with type 'string'
{{userInfoFormGroup.controls.enrollmentDate.errors.date.message}}
enter date format only
Shows custom message.
{{userInfoFormGroup.controls.allocationDate.errors.date.message}}