Skip to content

Commit

Permalink
Merge pull request #3349 from insiders/choice-form-submission
Browse files Browse the repository at this point in the history
[FormBundle] Remove empty_data from ChoiceFormSubmissionType
  • Loading branch information
acrobat authored Mar 24, 2024
2 parents cc64055 + 02fae94 commit 11479ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Kunstmaan/FormBundle/Form/ChoiceFormSubmissionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function ($v) {
}
);
$fieldOptions['choices'] = array_flip($fieldOptions['choices']);
$fieldOptions['empty_data'] = null;

$builder->add('value', ChoiceType::class, $fieldOptions);
}
Expand Down

0 comments on commit 11479ab

Please sign in to comment.