Angular 4: reactive form control is stuck in pending state with a custom async validator
There’s a gotcha! That is, your observable never completes… This is happening because the observable never completes, so Angular does not know when to change the form status. So remember your observable must to complete. You can accomplish this in many ways, for example, you can call the first() method, or if you are creating … Read more