Internal: UI: Fix class for checkbox field component

pull/4788/head
Angel Fernando Quiroz Campos 1 year ago
parent 2fd9a7510b
commit 640f3361e5
  1. 20
      assets/vue/components/basecomponents/BaseCheckbox.vue

@ -1,15 +1,13 @@
<template>
<div class="field -mt-2">
<div class="flex items-center">
<Checkbox
:model-value="modelValue"
:binary="true"
:name="name"
:input-id="id"
@update:model-value="$emit('update:modelValue', $event)"
/>
<label :for="id" class="ml-2 cursor-pointer">{{ label }}</label>
</div>
<div class="field-checkbox">
<Checkbox
:model-value="modelValue"
:binary="true"
:name="name"
:input-id="id"
@update:model-value="$emit('update:modelValue', $event)"
/>
<label :for="id" class="ml-2 cursor-pointer">{{ label }}</label>
</div>
</template>

Loading…
Cancel
Save