SyntaxFix
Write A Post
Hire A Developer
Questions
Here ngOnChanges will trigger always when your input property changes:
ngOnChanges(changes: SimpleChanges): void { console.log(changes.categoryId.currentValue) }