Skip to content

Multiple children arrays do not work at same nested level #2

@BrentH-Alnico

Description

@BrentH-Alnico

Hi,

If I use the model below, the second array 'MenuItemTags' seems to overwrite the first array 'SizePrice' on the same level. I believe the model is correct or am I missing something?

$model = array(
    'key'=>'ItemTitle',
    'ItemTitle'=>'ItemTitle',
    'children'=>array(
        'SizePrice'=>array(
            'key'=>'MenuItemSize',
            'MenuItemSize'=>'MenuItemSize',
        )
    ),
    'children'=>array(
        'MenuItemTags'=>array(
            'key'=>'MenuItemTag',
                'MenuItemTag'=>'MenuItemTag'
        )
    )
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions