forty-cdk
llms.txt

Error codes

FORCDK-CORE-012

Thrown by forty-cdk/core.

[forty-cdk/core] FORCDK-CORE-012: The id salt "{salt}" contains whitespace.

Cause

Generated ids are referenced from aria-labelledby, aria-controls and aria-describedby, which are space-separated id lists, so an id with a space in it resolves to two ids that do not exist.

Fix

Pass provideForIdSalt() (or FOR_ID_SALT) a salt without whitespace, e.g. "admin-panel".

Where it comes from

projects/forty-cdk/core/src/id-generator/id-generator.ts:45

A value in braces is filled in when the message is reported, so the sentence in your console names the piece, input or value that failed.