- I want to use a custom Async validator in my code to check if certain pin-codes exist in my database or not and then take some action in the HTML reactive form
- My HTML element instantly calls the method before the validator is done validating so the angular make the "pending" status true as the validation is pending
What I want??
- I want the html to call my method after all the validators are done evaluating -->do not suggest to use set timeout
if you can help me with the proper way of doing this it will be great.
Currently I am using settimeout function inside my method and it is working fine but it is not the correct way.