Skip to content

Dropdown Menu Radio Group

@astryxdesign/core v0.7.1 · DropdownMenuRadioGroup

Props ​

NameTypeDefaultDescription
modelValuestring-The selected value. Pair it with v-model. Leave it unset when nothing is selected yet. The data array uses value as well.
labelstring-Accessible name of the group, so the options are announced as one set.
hasCloseOnSelectbooleantrueWhether 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.