FORCDK-LISTBOX-004
Thrown by forty-cdk/listbox.
[forty-cdk/listbox] FORCDK-LISTBOX-004: ForListboxOptionCheckbox must be used inside a [forListboxOption] element.
Cause
No FOR_LISTBOX_OPTION provider is visible from ForListboxOptionCheckbox. 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 ForListboxOptionCheckbox inside a [forListboxOption] element, declaring any ng-template it lives in there too.
Where it comes from
projects/forty-cdk/listbox/src/listbox-option-checkbox.ts:34