Dropdown Menu Radio Group
@astryxdesign/core v0.7.1 · DropdownMenuRadioGroup
Props
| Name | Type | Default | Description |
|---|---|---|---|
modelValue | string | - | The selected value. Pair it with v-model. Leave it unset when nothing is selected yet. The data array uses value as well. |
label | string | - | Accessible name of the group, so the options are announced as one set. |
hasCloseOnSelect | boolean | true | Whether choosing a value closes the menu. A radio group closes. |
The options are Dropdown Menu Radio Item children. The group renders role="group" and puts label on aria-label.