How to delay async validation?


#1

Is it possible to delay the calling of an async validator until user input has stopped - e.g. similar to debounce on a searchbar?

If not, why not?

It doesn’t make sense that an async validator is called after every keystroke?

Is the best workaround to create a validator using (blur) ?


#2

Seems like the Angular Team is working on it…

https://kahlillechelt.com/asynchronous-validation-with-angular-reactive-forms-1a392971c062


#3

Angular 5.0 might solve this problem with new “onBlur” and “submitted” events for validation…