ngOnChanges executes before ngOnInit within placeholder component. This is expected (but not obvious).
Considering we need metadataMode value to be available already, the context subscription is moved to constructor (can't use it in OnChanges as it's called multiple times).
Testing Details
[ ] Unit Test Added
[x] Manual Test/Other (Please elaborate)
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description / Motivation
ngOnChanges executes before ngOnInit within placeholder component. This is expected (but not obvious). Considering we need metadataMode value to be available already, the context subscription is moved to constructor (can't use it in OnChanges as it's called multiple times).
Testing Details
Types of changes