Skip to content

Commit

Permalink
Output mapping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaab committed Mar 26, 2024
1 parent 5012ea3 commit 6b337b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/forms/src/documents/pdf/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ export const createFormOutputFieldData = (
if (docField.type === 'not-supported') {
return;
}
const fieldId = output.formFields[elementId];
const outputFieldId = output.formFields[elementId];
results[outputFieldId] = {
type: docField.type,
value: formData[fieldId],
value: formData[elementId],
};
});
return results;
Expand Down

0 comments on commit 6b337b9

Please sign in to comment.