Closed mazurva closed 7 years ago
Possibly related to #134 and #135 - which version of dmstr/yii2-adminlte-asset
and almasaeed2010/adminlte
do you have (composer show
)?
almasaeed2010/adminlte v2.4.0 dmstr/yii2-adminlte-asset 2.5.0-rc1
i have the same problem almasaeed2010/adminlte v2.4.0 dmstr/yii2-adminlte-asset 2.4.3
the template has changed, pls. see documentation on lteadmin.io then you'll see the new needed class and the data attribute
so if the template was changed why it is not updated in yii2-adminlte-asset?
fixed in 2.5.0
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, ] ) ?>
After
composer update
menu can't toggle.