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