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.
2 parents 2cd2cfb + 00b4297 commit 7eaecbbCopy full SHA for 7eaecbb
src/Symfony/Component/Form/Extension/DataCollector/EventListener/DataCollectorListener.php
@@ -76,8 +76,7 @@ public function postSubmit(FormEvent $event)
76
$this->dataCollector->collectSubmittedData($event->getForm());
77
78
// Assemble a form tree
79
- // This is done again in collectViewVariables(), but that method
80
- // is not guaranteed to be called (i.e. when no view is created)
+ // This is done again after the view is built, but we need it here as the view is not always created.
81
$this->dataCollector->buildPreliminaryFormTree($event->getForm());
82
}
83
0 commit comments