forty-cdk
llms.txt

Error codes

FORCDK-SELECT-004

Thrown by forty-cdk/select.

[forty-cdk/select] FORCDK-SELECT-004: ForSelectIndicator must be used inside a [forSelectOption] element.

Cause

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

Where it comes from

projects/forty-cdk/select/src/select-indicator.ts:42

Read the select documentation