dmstr / yii2-adminlte-asset

AdminLTE Asset Bundle for Backend Theme in Yii2 Framework
1.14k stars 425 forks source link

Menu can't toggle #136

Closed mazurva closed 7 years ago

mazurva commented 7 years ago

After composer update menu can't toggle.

schmunk42 commented 7 years ago

Possibly related to #134 and #135 - which version of dmstr/yii2-adminlte-asset and almasaeed2010/adminlte do you have (composer show)?

mazurva commented 7 years ago

almasaeed2010/adminlte v2.4.0 dmstr/yii2-adminlte-asset 2.5.0-rc1

rosancoderian commented 7 years ago

i have the same problem almasaeed2010/adminlte v2.4.0 dmstr/yii2-adminlte-asset 2.4.3

philippfrenzel commented 7 years ago

the template has changed, pls. see documentation on lteadmin.io then you'll see the new needed class and the data attribute

EndErr commented 7 years ago

so if the template was changed why it is not updated in yii2-adminlte-asset?

schmunk42 commented 7 years ago

fixed in 2.5.0

alexdran commented 7 years ago

if you still have problem I have fixed by adding data-widget variable to widget

<?= dmstr\widgets\Menu::widget( [ 'options' => [ 'class' => 'sidebar-menu', 'data-widget' => 'tree', ], 'items' => $items, ] ) ?>