Control Group

Join related form controls into one continuous field.

Control Group

Control Group joins related controls into a continuous field while each child keeps its own value, events, validation, and popup behavior. It uses a 24-column grid: direct children can declare span, while children without it evenly share the remaining space.

Select and input

Place a Select and Input next to each other when users need to choose a prefix before entering a value. The Select below uses span="8", so the unset Input automatically receives the remaining 16 columns.

Code copied

Multiple controls and spans

Select, Input, and Cascader can share one connected row. The declared spans below are 4, 4, 7, and 4, so the unset Input automatically receives the remaining 5 columns.

Code copied

Full width

Use block when the continuous field should fill its container.

Code copied

API

PROPS

PropertyTypeValuesDescriptiondefaultExampleMore
blockBooleantrue | falseMake the group fill its container and share the available width.
No matching data

CHILD PROPS

PropertyTypeValuesDescriptiondefaultExampleMore
spanNumber1–24Set it on a direct child to define its share of the 24-column grid. Children without it evenly divide 24 - the sum of declared spans.auto
No matching data

SLOTS

PropertyTypeValuesDescriptiondefaultExampleMore
defaultSlotInputSelectCascaderor compatible form controlsControls rendered in their original order without gaps.
No matching data