Skip to content

Commit 9756c48

Browse files
committed
fix(stepper): pass state to handleSubmit to match list view submit
1 parent f4d6b5c commit 9756c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web-forms/src/components/OdkWebForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ watchEffect(() => {
242242
<div class="flex flex-column gap-2">
243243
<QuestionList v-if="!stepperLayout" :nodes="state.root.currentState.children" />
244244
<!-- Note that QuestionStepper has the 'Send' button integrated instead of using the button below -->
245-
<QuestionStepper v-if="stepperLayout" :nodes="state.root.currentState.children" @sendFormFromStepper="handleSubmit()" />
245+
<QuestionStepper v-if="stepperLayout" :nodes="state.root.currentState.children" @sendFormFromStepper="handleSubmit(state)" />
246246
</div>
247247
</div>
248248
</template>

0 commit comments

Comments
 (0)