It should ends with 't'
If you want to apply conditional validation on 'Profession' or 'Task Id', then you need to add 'name' input as 'Bharat'
{{userFormGroup.controls.name.errors.endsWith.message}}
You can enter value which ends with '1'
If you want to apply conditional validation on 'Task Id' then you need to add 'name' input as 'Bharat'.
Conditional Expression with type 'string'
{{userFormGroup.controls.taskId.errors.endsWith.message}}
You can enter value which ends with 'r'
If you want to apply conditional validation on 'Profession' then you need to add 'name' input as 'Bharat'.
Conditional Expression with type 'function'
{{userFormGroup.controls.profession.errors.endsWith.message}}