title: Angular - NgForm valueChanges called multiple times on page load
body: <p>I have a problem using the valueChanges function of ngForm. When binding an Input variable to the form with [(ngModel)], the form gets called multiple times on page load. </p>
  
  <p>Is there a good way to only detect user changes? </p>
  
  <pre><code>export class ContainerComponent implements OnInit, AfterViewInit {
    @Input() formData: Object;
    @ViewChild('form') form: NgForm;
    constructor() { }
  
    ngOnInit(): void {
    }
  
    ngAfterViewInit(): void {
       this.form.form.valueChanges.subscribe((value) =&gt; {
         //Gets called multiple times on page load
       });
    }
  
  }
  </code></pre>