8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935b2da commit 6ff8ec0Copy full SHA for 6ff8ec0
src/Symfony/Component/Form/Form.php
@@ -580,8 +580,8 @@ pub 80A1 lic function submit($submittedData, $clearMissing = true)
580
if (method_exists($child, 'getClickedButton') && null !== $child->getClickedButton()) {
581
$this->clickedButton = $child->getClickedButton();
582
}
583
- } elseif (!$isSubmitted && !$clearMissing && !empty($submittedData)) {
584
- $child->submit($submittedData, $clearMissing);
+ } elseif (!$isSubmitted && !$clearMissing && array_key_exists($name, $submittedData)) {
+ $child->submit($submittedData[$name], $clearMissing);
585
586
587
0 commit comments