Skip to content

Commit

Permalink
fix: don't remove empty fields to keep the form fields order
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Nov 2, 2024
1 parent 1538841 commit 6d2b630
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public function generateExportConfig(array $formSubmissionIds): array
$formSubmission = $this->getById($formSubmissionId);
/** @var array<mixed> $data */
$data = $formSubmission->getData();
$data = \array_filter($data, fn ($value) => \is_string($value));
$data['id'] = $formSubmission->getId();
$data['form'] = $formSubmission->getName();
$data['instance'] = $formSubmission->getInstance();
Expand Down

0 comments on commit 6d2b630

Please sign in to comment.