Skip to content

Commit

Permalink
fix anonymous checkboxes form
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexBTurchyn committed Aug 9, 2023
1 parent 9cc8559 commit 1daee82
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/javascript/submission_form/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,13 @@
>
<template v-if="isAnonymousChecboxes">
Complete hightlighted checkboxes and click <span class="font-semibold">{{ stepFields.length === currentStep + 1 ? 'submit' : 'next' }}</span>.
<input
v-for="field in currentStepFields"
:key="field.uuid"
type="hidden"
:name="`values[${field.uuid}]`"
:value="!!values[field.uuid]"
>
</template>
<template v-else>
<div
Expand Down

0 comments on commit 1daee82

Please sign in to comment.