Radio Group
A list of options where tapping one selects it and clears the others.
Installation
Usage
src/app/app.ts
- Each item shows a circle and its label. Tapping anywhere on the row selects it.
- Items wrap their content in
<text>, so pass plain text. - Once an option is selected, tapping it again keeps it selected. Start with
''for no selection.
Disabled
Disabling the group dims every item and ignores taps. There's no per-item disabled.
Forms
value is a model(), so it works with every Angular forms API:
Choosing an item marks the field touched. UiRadioGroup implements Signal Forms' FormValueControl. See Forms.
API
UiRadioGroup
UiRadioGroupItem
No outputs.
