Переглянути джерело

[Form] Set prototype to true by default.

Benjamin Eberlei 14 роки тому
батько
коміт
f9e2864030
1 змінених файлів з 1 додано та 1 видалено
  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',
         );
     }