I asked a question: Angular controlling a list of objects visibility on the same view which was answered but has raised another question.
If I have a child component, how can I get it to know when something has changed. Here is a link to some example code:
https://stackblitz.com/edit/angular-e72hx9?file=src%2Fapp%2Fanswers%2Fanswers.component.ts
I have tried to use OnChanges on the AnswerComponent. I was hoping that when I changeda property within the object array, OnChanges would fire and then update my list, but it doesn't. I assume this is an easy thing, but I am unsure how to do it.
Can anyone help?