-
Is it possible to put a button inside a RadioGroupOption that won't select the RadioGroupOption when it is clicked? I have a setup like this: <RadioGroup
v-model="selectedCard"
>
<RadioGroupOption
v-for="card in cardsList"
:key="card.id"
v-slot="{ active, checked }"
:value="card.id"
as="template"
>
<div>
<button
type="button"
@click="openCardMenu"
>
Open Card Options Menu
</button>
<RadioGroupLabel>{{card.number}}</RadioGroupLabel>
</div>
</RadioGroupOption>
</RadioGroup> I've tried adding |
Beta Was this translation helpful? Give feedback.
Answered by
dospunk
Jan 21, 2022
Replies: 1 comment
-
Figured it out, I needed the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dospunk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Figured it out, I needed the
.stop
event modifier!