Browse Source

Merge pull request #2455 from pulzarraider/fixp1

[2.3] Replaced parent 'text' with 'hidden' in sonata_type_model_list
Thomas 11 years ago
parent
commit
e29a381d9a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Form/Type/ModelTypeList.php

+ 1 - 2
Form/Type/ModelTypeList.php

@@ -61,7 +61,6 @@ class ModelTypeList extends AbstractType
         $resolver->setDefaults(array(
         $resolver->setDefaults(array(
             'model_manager'     => null,
             'model_manager'     => null,
             'class'             => null,
             'class'             => null,
-            'parent'            => 'text',
             'btn_add'           => 'link_add',
             'btn_add'           => 'link_add',
             'btn_list'          => 'link_list',
             'btn_list'          => 'link_list',
             'btn_delete'        => 'link_delete',
             'btn_delete'        => 'link_delete',
@@ -74,7 +73,7 @@ class ModelTypeList extends AbstractType
      */
      */
     public function getParent()
     public function getParent()
     {
     {
-        return 'text';
+        return 'hidden';
     }
     }
 
 
     /**
     /**