forty-cdk
llms.txt

Error codes

Every message forty-cdk reports carries a FORCDK-<AREA>-<NNN> code naming one concrete mistake. This is the whole roster — 132 codes across 48 entry points — read from the library's own source, so a page says what the console said.

A value in braces, like {piece}, is filled in when the message is reported.

forty-cdk/accordion

forty-cdk/avatar

forty-cdk/breakpoints

forty-cdk/calendar

forty-cdk/checkbox

forty-cdk/combobox

forty-cdk/context-menu

forty-cdk/core

  • FORCDK-CORE-001A modal surface registered a second backdrop; only one is allowed.
  • FORCDK-CORE-002{piece} requires a DateAdapter, and none is provided.
  • FORCDK-CORE-003{piece} requires a time-capable DateAdapter, and the active one is day-only.
  • FORCDK-CORE-004A focus trap was still active when its owner was destroyed, so focus was not returned.warning
  • FORCDK-CORE-005A {owner} coordinates a single {claimant}, but {registered} are registered.warning
  • FORCDK-CORE-006{piece} is mounted while the surface is closed.warning
  • FORCDK-CORE-007{piece} resolved a {token} provider that is not the {root} root.
  • FORCDK-CORE-008Multi-select range keyboard ({shortcuts}) is not supported together with virtualization (`totalCount` set).
  • FORCDK-CORE-009`selectionFollowsFocus` is not supported together with virtualization (`totalCount` set).
  • FORCDK-CORE-010{piece} has no [{inputName}] binding.
  • FORCDK-CORE-011{piece} has no accessible name.warning

forty-cdk/date-field

forty-cdk/date-picker

forty-cdk/dialog

forty-cdk/disclosure

forty-cdk/drag-drop

forty-cdk/drawer

  • FORCDK-DRAWER-001A parent drawer was destroyed while a nested child drawer was still registered.
  • FORCDK-DRAWER-002{piece} must be used inside a [forDrawer] element.
  • FORCDK-DRAWER-003fadeFromIndex is {fadeFromIndex}, which is out of range for {length} snapPoints.
  • FORCDK-DRAWER-004closeThreshold must be a fraction between 0 and 1, and it is {value}.
  • FORCDK-DRAWER-005A second [forDrawerWrapper] registered; only one is allowed per viewport.
  • FORCDK-DRAWER-006A [forDrawer] registered a second [forDrawerHandle]; only one is allowed.
  • FORCDK-DRAWER-007A numeric snap point must be finite, and one is {p}.
  • FORCDK-DRAWER-008A snap point must be a number, an "NN%" string, or an "NNpx" string, and one is {value}.
  • FORCDK-DRAWER-009snapPoints must be strictly increasing.
  • FORCDK-DRAWER-010Snap point {curConfig} at index {i} resolves to {cur}px, which is not past {prevConfig} at {prev}px.
  • FORCDK-DRAWER-011resolveSnapTarget received snapPoints and snapPositions of different lengths.
  • FORCDK-DRAWER-012resolveSnapTarget received no snap points.
  • FORCDK-DRAWER-013[forDrawerTrigger] is open but has no [controls], so aria-controls is omitted.warning

forty-cdk/field

forty-cdk/fieldset

  • FORCDK-FIELDSET-001A [forFieldset] is labelled by a single [forFieldsetLegend], but {registered} are registered.warning

forty-cdk/file-upload

forty-cdk/hover-card

forty-cdk/listbox

  • FORCDK-MENU-001{piece} must be used inside a [forMenu], [forDropdownMenu], [forContextMenu], [forMenubar], or [forMenuSub] element.
  • FORCDK-MENU-002{piece} must be used inside a [forMenuGroup] or [forMenuRadioGroup] element.
  • FORCDK-MENU-003ForMenuItemIndicator must be used inside a [forMenuCheckboxItem] or [forMenuRadioItem] element.
  • FORCDK-MENU-004{piece} must be used inside a [forMenuRadioGroup] element.
  • FORCDK-MENU-005The [forMenuSub] holding this [forMenuSubTrigger] has no parent menu.
  • FORCDK-MENU-006[forMenuSub] must be used inside a [forDropdownMenu], [forContextMenu], or another [forMenuSub] element.

forty-cdk/meter

forty-cdk/number-input

forty-cdk/otp-input

forty-cdk/pagination

forty-cdk/popover

forty-cdk/progress

forty-cdk/radio-group

forty-cdk/scroll-area

  • FORCDK-SEARCH-001{piece} must be used inside a [forSearchGroup] that wraps a [forSearch] element.

forty-cdk/select

forty-cdk/slider

forty-cdk/stepper

forty-cdk/table

forty-cdk/table-virtualization

forty-cdk/tabs

forty-cdk/time-field

forty-cdk/time-picker

forty-cdk/toast

forty-cdk/toggle

forty-cdk/toolbar

forty-cdk/tooltip

forty-cdk/tree

  • FORCDK-TREE-001{piece} must be used inside a [forTree] element.
  • FORCDK-TREE-002{piece} must be used inside a [forTree] or [forTreeGroup] element.
  • FORCDK-TREE-003{piece} must be used inside a [forTreeItem] element.
  • FORCDK-TREE-004[forTreeNodeDragHandle] must be used inside a [forTreeNodeDrag] element.
  • FORCDK-TREE-005`cascade` is enabled but no `descendantsOf` descriptor is bound.
  • FORCDK-TREE-006[forTreeItemCheckbox] was clicked inside the [selectable]="false" node "{value}", so the click selects nothing.warning

forty-cdk/virtual-reorder

forty-cdk/virtualization