소스 검색

[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',
         );
     }