Angular - Reactive Forms
You have this code:
But it always logs
this.form = new FormGroup({
name: new FormControl('')
});
console.log(this.form.controls.name.dirty);But it always logs
true even though the user did not change the input. What is the likely cause?