Based on selection of file type conditional validation is applied
{{userinfoForm.controls?.fileType?.errors?.extension.message}}
This field only allow file extension as jpg or bmp only.
{{userinfoForm.controls?.profilePicture?.errors?.extension.message}}
If you want to apply conditional validation on 'Image File' then you need to add 'File Type' input as 'Picture'.
{{userinfoForm.controls?.imageFile?.errors?.extension.message}}
This field only allow file extension as .vcf files.
It shows custom message
{{userinfoForm.controls?.contactFile?.errors?.extension.message}}