fullName element renders either one combined name input or two side-by-side first/last inputs. The submitted value shape is identical across both renderings.
Factory
Example
Single-input (default):Options
All three field keys are always exposed. Keys that do not match the current mode are ignored at render time, so you can flip modes without rewriting
fields.
splitMode: 'horizontal'
Renders first and last inputs side by side. Collapses to vertical when the host container is narrower than roughly 440 pixels.
splitMode: 'vertical'
Stacks the inputs at every width.
Per-half disabled
In split mode, per-half fields.firstName.disabled and fields.lastName.disabled override the element-level disabled cascade.
Value
Identical across both renderings:null until either half is non-empty. complete flips true only when both halves pass their format check.
FieldError.field
- Single mode:
'fullName'. - Split mode:
'firstName'or'lastName'per half.