forty-cdk
llms.txt

Error codes

FORCDK-SELECT-003

Thrown by forty-cdk/select.

[forty-cdk/select] FORCDK-SELECT-003: ForSelectGroupLabel must be used inside a [forSelectGroup] element.

Cause

No ForSelectGroup provider is visible from ForSelectGroupLabel. 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 ForSelectGroupLabel inside a [forSelectGroup] element, declaring any ng-template it lives in there too.

Where it comes from

projects/forty-cdk/select/src/select-group-label.ts:26

Read the select documentation