From 77a925f33bb094c294e6a587cd38adb6ba75faf0 Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Thu, 16 Jul 2026 15:55:21 +0300 Subject: [PATCH] fix invite form return to fields --- app/javascript/submission_form/form.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/javascript/submission_form/form.vue b/app/javascript/submission_form/form.vue index 20a08583..e61feae5 100644 --- a/app/javascript/submission_form/form.vue +++ b/app/javascript/submission_form/form.vue @@ -1575,6 +1575,7 @@ export default { } }, goToStep (stepIndex, scrollToArea = false, clickUpload = false) { + this.isInvite = false this.currentStep = stepIndex this.showFillAllRequiredFields = false @@ -1599,6 +1600,10 @@ export default { }) }, saveStep (formData) { + if (!formData && !this.$refs.form) { + return + } + const currentFieldUuids = this.currentStepFields.map((f) => f.uuid) const currentFieldType = this.currentField.type