(resultArr: number[])
| 6354 | } |
| 6355 | |
| 6356 | function observableValidator(resultArr: number[]): AsyncValidatorFn { |
| 6357 | return (c: AbstractControl) => { |
| 6358 | return timer(100).pipe(tap((resp: any) => resultArr.push(resp))); |
| 6359 | }; |
| 6360 | } |
| 6361 | |
| 6362 | function loginIsEmptyGroupValidator(c: FormGroup) { |
| 6363 | return c.controls['login'].value == '' ? {'loginIsEmpty': true} : null; |
no test coverage detected