Browse Source

[Form] Set prototype to true by default.

Benjamin Eberlei 14 years ago
parent
commit
f9e2864030
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Component/Form/Type/CollectionType.php

+ 1 - 1
src/Symfony/Component/Form/Type/CollectionType.php

@@ -36,7 +36,7 @@ class CollectionType extends AbstractType
         return array(
             'template' => 'collection',
             'modifiable' => false,
-            'prototype'  => false,
+            'prototype'  => true,
             'type' => 'text',
         );
     }