reverse checkbox label display

This commit is contained in:
Hayden 2023-03-05 11:07:03 -09:00
parent 913912a1d9
commit 30b1879c35
No known key found for this signature in database
GPG key ID: 17CF79474E257545

View file

@ -1,8 +1,8 @@
<template>
<div v-if="!inline" class="form-control w-full">
<label class="label cursor-pointer">
<span class="label-text"> {{ label }}</span>
<input v-model="value" type="checkbox" class="checkbox checkbox-primary" />
<span class="label-text"> {{ label }}</span>
</label>
</div>
<div v-else class="label cursor-pointer sm:grid sm:grid-cols-4 sm:items-start sm:gap-4">