A Material Design radio group (pp_radio_group/1) — a labeled set of
mutually exclusive radio buttons sharing one name.
Accepts either a Phoenix Phoenix.HTML.FormField via field= or plain
name/value attrs.
ripple={true} adds the Material ripple effect on click/tap, wired to
each option's small box rather than its whole label — off by default
(unlike Button/Fab/ToggleButton), since a radio's own instant
fill/border-color change already reads as clear feedback on a target
this small — see PhoenixPaper.Ripple.
Summary
Functions
Attributes
id(:any) - Defaults tonil.name(:any) - Defaults tonil.label(:string) - Defaults tonil.value(:any) - Defaults tonil.options(:list) (required) - list of {label, value} tuples, or plain values.field(Phoenix.HTML.FormField) - Defaults tonil.disabled(:boolean) - Defaults tofalse.paperize(:boolean) - Defaults totrue.ripple(:boolean) - the Material ripple effect on click/tap (default: false) — see PhoenixPaper.Ripple. Defaults tofalse.class(:any) - Defaults tonil.- Global attributes are accepted. Supports all globals plus:
["form", "autofocus"].