Easyadminbundle: Unable to display sub-menu on menu item click

Created on 13 Jun 2018  路  3Comments  路  Source: EasyCorp/EasyAdminBundle

Since last update, second level sub-menu is not displayed on click on first level items.
A click on any first level item, do nothing exception add a # character on browser URL.

  • Symfony version : 4.1
  • EasyAdmin version : 1.7.13

Here is an extract of my EasyAdmin configuration :

    menu:
      - label: menu.categories.admin
        icon: 'university'
        children:
          - { label: Projects, entity: 'Project', default: true }
          - { label: Sites, entity: 'Site'}
          - { label: Partners, entity: 'Partner'}
          - { label: Contacts, entity: 'Contact'}
          - { label: Addresses, entity: 'Address'}
          - { label: Contexts, entity: 'Context'}
      - label: menu.categories.network
        icon: 'globe'
        children:
          - { label: AutonomousSystems, entity: 'AutonomousSystem' }
          - { label: Campuses, entity: 'Campus' }
          - { label: Configurators, entity: 'Configurator' }
          - { label: Equipments, entity: 'Equipment' }
          - { label: Ip4Addresses, entity: 'Ip4Address' }
          - { label: 'Ip4 networks', entity: 'Ip4Network' }
          - { label: Links, entity: 'Link' }
          - { label: NetworkInterfaces, entity: 'NetworkInterface' }
          - { label: 'Network services', entity: 'NetworkService' }
          - { label: Supports, entity: 'Support' }
          - { label: Vlans, entity: 'Vlan' }
          - { label: Vrfs, entity: 'Vrf' }

Most helpful comment

Did you override the menu template? In this case, you will need to sync it with the latest changes from the core template.

All 3 comments

Did you override the menu template? In this case, you will need to sync it with the latest changes from the core template.

Thanks you ! I totally forgot that i've override the template

@Wait4Code I had the same issue after updating. 馃槃

Was this page helpful?
0 / 5 - 0 ratings