I listen to 2 forms via 2 [formControl] "toppings":array and "toppings2":array.
I must have the 2 values of the forms in the same time. So i combine my two observables with "CombineLatest"
My code:
ngOnInit() {
combineLatest(this.toppings.valueChanges, this.toppings2.valueChanges)
.subscribe(val => console.log(val))
}
But now, in the initialisation of the component, only one form send console.log(val).
If i click on this form, after i receive log of my second form. Have you meet this problem ?