FormControl.detectchanges – why use distinctUntilChanged?
distinctUntilChanged when applied to the valueChanges observable… …is probably never going to work! It only works as expected on an individual value (as you said). So you’ll get a new value even if nothing has changed. To track changes for the whole form you need to write a custom comparer, the simplest of which uses … Read more