FORCDK-COMBOBOX-004
Thrown by forty-cdk/combobox.
[forty-cdk/combobox] FORCDK-COMBOBOX-004: [forComboboxTrigger] could not resolve its [forCombobox] root.
Cause
No FOR_COMBOBOX_CONTEXT provider is visible and no explicit root was passed. Angular resolves a directive's dependencies at the template's declaration site rather than where it is stamped, so a piece declared in an ng-template outside the root resolves nothing even when it renders inside it.
Fix
Move [forComboboxTrigger] inside the [forCombobox] element, or pass the root explicitly: [forComboboxTrigger]="root" with #root="forCombobox".