Radio Group

Locked selection
Attribute Type Documentation Default Value
field %FormField{}

a form field struct

id :string
name :string
value :any
options :list

list of {label, value} tuples or option maps

[]
label :string
description :string
errors :list []
disabled :boolean false
form :string

id of the form the radios belong to, when the group is outside it

class :any
variant :string

The colour when on, daisyUI's radio-*. Emitted as data-variant.

size :string

daisyUI's radio-xs … radio-xl; no size is md. Emitted as data-size.

rest :global
item :slot
Show slot attributes Hide slot attributes
Required value * :any
disabled :boolean
description :string