If you want to apply conditional validation on 'Voter Age' or 'Member Age' then need to add this input greater than '17'.
{{userFormGroup.controls.age.errors.greaterThan.message}}
Retirement Age should be greater than age
{{userFormGroup.controls.retiermentAge.errors.greaterThan.message}}
If you want to apply conditional validation on 'Voter Age' then need to add 'Age' field greater than '17'.
{{userFormGroup.controls.memberAge.errors.greaterThan.message}}
If you want to apply conditional validation on 'Voter Age' then need to add 'Age' field greater than '17'.
{{userFormGroup.controls.voterAge.errors.greaterThan.message}}
Shows custom message
{{userFormGroup.controls.otherAge.errors.greaterThan.message}}