Fields

Categories

Categories is an element field that can render as standard choice inputs.

Use this page as the reference for the display variants you need to preserve when mocking or restyling category selection.

Preview

Attributes

Categories keeps its own field identity, but the visible control inherits the attributes of the chosen display type:

AttributePurposeImportance
data-formie-field-type="categories"Field identity marker on the outer wrapperRequired
data-formie-input and data-formie-input-idShared input identity hooks from the rendered choice controlRequired
<select> / data-formie-checkbox-input / data-formie-radio-inputControl-level hooks inherited from the selected display typeRequired
Hidden empty input for checkbox displayPreserves empty-state submission behaviorRecommended for checkbox display

Display types

Categories can render as:

  • a single-select dropdown
  • a multi-select dropdown
  • a checkbox group
  • a radio group

The docs preview uses mocked category options so the display variants are easy to audit without depending on a live element query.

Last updated: Apr 9, 2026, 12:11 AM