Skip to content

Commit

Permalink
fix #10054 - form data collector with dynamic fields
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #10054
| License       | MIT
| Doc PR        | -
  • Loading branch information
zulus authored and fabpot committed Dec 29, 2014
1 parent 7c42995 commit cffb64f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -139,7 +139,9 @@ public function collectSubmittedData(FormInterface $form)
$hash = spl_object_hash($form);

if (!isset($this->dataByForm[$hash])) {
$this->dataByForm[$hash] = array();
// field was created by form event
$this->collectConfiguration($form);
$this->collectDefaultData($form);
}

$this->dataByForm[$hash] = array_replace(
Expand Down

0 comments on commit cffb64f

Please sign in to comment.