fix prefill same name field
This commit is contained in:
@@ -52,12 +52,12 @@ module Submitters
|
||||
|
||||
attachments.push(*new_attachments)
|
||||
|
||||
value = new_value
|
||||
end
|
||||
|
||||
acc[field['uuid']] = normalize_value(field, new_value)
|
||||
else
|
||||
acc[field['uuid']] = normalize_value(field, value)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
[normalized_values, attachments]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user