(resultArr: number[])
| 6340 | } |
| 6341 | |
| 6342 | function observableValidator(resultArr: number[]): AsyncValidatorFn { |
| 6343 | return (c: AbstractControl) => { |
| 6344 | return timer(100).pipe(tap((resp: any) => resultArr.push(resp))); |
| 6345 | }; |
| 6346 | } |
| 6347 | |
| 6348 | function loginIsEmptyGroupValidator(c: FormGroup) { |
| 6349 | return c.controls['login'].value == '' ? {'loginIsEmpty': true} : null; |
no test coverage detected
searching dependent graphs…