FieldFamily.field_set
Server-rendered
Semantic fieldset wrapper for grouping related controls.
Pair field_set/1 with field_legend/1, optional field_description/1,
and field_group/1 so grouped controls stay accessible and visually
consistent.
Field set
<.field_set>
<.field_legend>Billing address</.field_legend>
<.field_description>Used for invoices and payment receipts.</.field_description>
<.field_group>
<.field>
<:label for="billing_city">City</:label>
<.input id="billing_city" name="billing[city]" />
</.field>
</.field_group>
</.field_set>
Attributes
| Name | Type | Default | Values | Global Includes |
|---|---|---|---|---|
class
|
:string |
— | — | — |
rest
|
:global |
— | — | — |
Slots
| Slot | Slot Attributes |
|---|---|
inner_block
Required
|
— |