-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Description
In the AdminLte demo here https://adminlte.io/themes/AdminLTE/index2.html I can see multilevel menus.
Instead, when I try to do them in avanzu, I can't display them:
If I do this (only 1 level):
$level1 = new MenuItemModel( 'level1', 'Level 1', 'form_submission_bulk_display_change_state_form', [], 'fa fa-star' );
$menuItems[ 'tests' ]->addChild( $level1 );
I get this:
If I do this (2 levels), I'd expect that the menu "Level 1" contains a caret to open a submenu named "Level 2".
$level1 = new MenuItemModel( 'level1', 'Level 1', 'form_submission_bulk_display_change_state_form', [], 'fa fa-star' );
$level2 = new MenuItemModel( 'level2', 'Level 2', 'form_submission_bulk_display_change_state_form', [], 'fa fa-star' );
$level1->addChild( $level2 );
$menuItems[ 'tests' ]->addChild( $level1 );
Instead, I get this:
And there's no toggle there to open/close, as it'd be expected according to the AdminLte demo:
Question: How can I code submenus in a multilevel menu?
| Component | Version |
|---|---|
| Symfony version | Symfony 3.3.10 |
| AdminThemeBundle | 1.3.10 |
| Operating System | Ubuntu 16.04 LTS |


