diff --git a/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php b/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php index 17010990497c..25b0aefecfe8 100644 --- a/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php +++ b/src/Symfony/Bridge/Doctrine/Form/Type/DoctrineType.php @@ -280,4 +280,9 @@ public function getParent() { return 'Symfony\Component\Form\Extension\Core\Type\ChoiceType'; } + + public function reset() + { + $this->choiceLoaders = array(); + } }