Control Group

Join related form controls with a lightweight puzzle seam.

Control Group

Control Group joins related controls with a lightweight non-layout puzzle seam 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. The group’s resolved size is authoritative for direct component controls so mixed local sizes cannot break the continuous surface.

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.

Size

Compare the inherited small, default, and large component sizes.

Multiple controls and spans

Select, Input, Cascader, Date Picker, and Time Picker can share connected rows. The first row declares spans of 4, 4, 7, and 4, so the unset Input receives the remaining 5 columns; the second row demonstrates a connected date, time, and regular input.

Full width

Use block when the continuous field should fill its container.

API

PROPS

Property
Type
Values
Description
default
Example
More
size
small | medium | large
Force one shared size on every direct component control in the group.
—
—
block
Boolean
true | false
Make the group fill its container and share the available width.
false
—

CHILD PROPS

Property
Type
Values
Description
default
Example
More
span
Number
1–24
Set 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
—

SLOTS

Slot
Scope
Description
default
Example
More
default
InputSelectCascaderDatePickerTimePickeror compatible form controls
Controls rendered in their original order with a puzzle seam between adjacent items.
—
—
Copied