diff --git a/src/core/components/dynamic-component/dynamic-component.ts b/src/core/components/dynamic-component/dynamic-component.ts index 0057964f1..d48e1b4e1 100644 --- a/src/core/components/dynamic-component/dynamic-component.ts +++ b/src/core/components/dynamic-component/dynamic-component.ts @@ -119,8 +119,8 @@ export class CoreDynamicComponent implements OnChanges, DoCheck { const changes = this.differ.diff(this.data || {}); if (changes) { this.setInputData(); - if (this.ngOnChanges) { - this.ngOnChanges(CoreDomUtils.createChangesFromKeyValueDiff(changes)); + if (this.instance.ngOnChanges) { + this.instance.ngOnChanges(CoreDomUtils.createChangesFromKeyValueDiff(changes)); } } }