allow to make checkboxes required

This commit is contained in:
DocuSeal
2023-10-07 09:04:02 +03:00
parent 276b4f4a5f
commit 82854b8ce8
6 changed files with 50 additions and 17 deletions
@@ -21,7 +21,7 @@
:name="`values[${field.uuid}][]`"
:value="option"
class="base-checkbox !h-7 !w-7"
:checked="modelValue.includes(option)"
:checked="(modelValue || []).includes(option)"
@change="onChange"
>
<span class="text-xl">