79301240

Date: 2024-12-22 15:36:31
Score: 0.5
Natty:
Report link

I was able to get it to work using uiRadio and ui props.

<URadioGroup
      v-model="selected"
      :options="methods"
      :ui="{ fieldset: 'w-full flex flex-col'}"
      :uiRadio="{
        label: 'cursor-pointer py-3',
        wrapper: 'pl-2 rounded-md items-center hover:bg-green-100',
        inner: 'w-full',
        form: 'cursor-pointer'
    }"
>
    <template #label="{ option }">
      <p class="text-base w-100">
        {{ option.label }}
      </p>
    </template>
</URadioGroup>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: link