mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
add submitter index
This commit is contained in:
1 parent
33e226861e
commit
c3f4480cdc
3 files changed
+6
-4
No files matched your search
@@ -10,7 +10,8 @@ module Submissions
|
||||
|
||||
Array.wrap(submissions_params).each do |submission|
|
||||
submission[:submitters].each_with_index do |submitter, index|
|
||||
_, new_attachments, new_fields = normalize_submitter_params!(submitter, template, index, add_fields:)
|
||||
_, new_attachments, new_fields =
|
||||
normalize_submitter_params!(submitter, template, submitter[:index] || index, add_fields:)
|
||||
|
||||
attachments.push(*new_attachments)
|
||||
fields.push(*new_fields)
|
||||
|
||||
Reference in new issue
Block a user