Don’t add await
on my account - I am an await
-hater.
What springs to mind here is the timing of how member
is set. I personally tend to keep handles to all my FormControl
s so I don’t have to keep calling get
on FormGroup
s, but somehow I would suggest getting a reference to that ageGroupId
FormControl
and calling setValue
on it whenever member
is modified (typically I would expect that to be either in an ngOnChanges
handler or a subscription of some sort), instead of relying on whatever the state of member
happens to be when initForm
is called.