angular forms subscribing to changes code example
Example: angular formgroup on value change
this.reactiveForm.get("firstname").valueChanges.subscribe(x => {
console.log('firstname value changed')
console.log(x)
})
this.reactiveForm.get("firstname").valueChanges.subscribe(x => {
console.log('firstname value changed')
console.log(x)
})