I want to listen to the first change by the user in a form, what I need is something like this:
$rootScope.$watch(function() {
return validationForm.$pristine;
}, function(newVal, oldVal) {
but in angular 9.
I tried using valueChanges
this.form.valueChanges.subscribe((result) => { })
but it emit on each change in the form build too. how can I subscribe only to the first user's change?