I have this parent components, that has a Boolean attribute, that can be set by user through a button in UI.
I have a recursive set of children components, a tree in fact, that need to response to change of that Boolean attribute, even when the value of that Boolean attribute is not changed, but user has pressed that button.
In other words, even if that Boolean attribute is false
, and user clicks that button, and because of some logic the Boolean attribute is not changed at all and remains false
, I still want the children components to be notified.
I'm using ngOnChanges
and I'm trying to trigger the event manually.
But in case of false
to false
, which means no change, the ngOnChanges
on children components is not called.
What do I miss here?