Issue Bug Closed

#59027renderMode='tree' in IRRE record

Martin R. Krause 05/22/14, 13:43 updated 08/13/15, 10:59

Description

Using TCA setting

type = select
renderMode = tree

inside an IRRE record in BE is not working properly.

In the first IRRE record you open the tree field is not shown at all (only the headline)
In the secound two trees are shown.
In the third tree trees are shown, etc.

Example field conf.:

'uar_cats' => array(
            'exclude' => 1,
            'label' => 'Categories',
            'config' => array(
                'type' => 'select',
                'autoSizeMax' => 20,
                'foreign_table' => 'sys_category',
                'foreign_table_where' => ' AND sys_category.sys_language_uid IN (-1, 0) ORDER BY sys_category.sorting ASC',
                'multiple' => 1,
                'maxitems' => 9999,
                // todo: 
                /*'renderMode' => 'tree',*/
                'size' => 10,
                'treeConfig' => array(
                    'appearance' => array(
                        'expandAll' => 1,
                        'showHeader' => 1
                    ),
                    'parentField' => 'parent'
                )
             )
        ),

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.