need to pass index of form Array and value of same from in custom validation to validate slab amount reactive form

245 Views Asked by At

I'm validation slab amount so i have using FormArray but while creating custom validation i am unable to pass FormGroup index of that form control

export function maximumAmountValidation(formArray: FormArray, index: number): { [key: string]: boolean } | null {
  return null;
}
0

There are 0 best solutions below