I have a parent and child component where the parent is passing an object to the child through the @Input decorator. The problem is the child gets the parent data only once, then after future changes to parent property that is passed to the child, the value is not being update.
Try to get the changes by ngOnChanges
use it in the child component
ngOnChanges(changes: import("@angular/core").SimpleChanges): void {
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With