Based on selection of file type conditional validation is applied
{{userInfoFormGroup.controls.fileType.errors.file.message}}
This field allow upto 5 files.
{{userInfoFormGroup.controls.totalImageFiles.errors.file.message}}
This field allow minmum 5 files.
{{userInfoFormGroup.controls.totalDocumentFiles.errors.file.message}}
If you want to apply conditional validation on 'MinimumFiles' then you need to add 'File Type' input as 'Picture'. we can add minimum 5 files
{{userInfoFormGroup.controls.minimumFiles.errors.file.message}}
It shows custom message
{{userInfoFormGroup.controls.minMaxFiles.errors.file.message}}