You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced a setting 'laravel-menu.settings.default.data_toggle_attribute'
which needs to be set to 'data-bs-toggle' when using bootstrap 5
(currently in beta).
Co-authored-by: Herbert Maschke <[email protected]>
@@ -1359,6 +1359,8 @@ This is how your Bootstrap code is going to look like:
1359
1359
</nav>
1360
1360
```
1361
1361
1362
+
In case you are using bootstrap 5 (currently in beta) you need to set the `data-toggle-attribute` option from `data-toggle` to `data-bs-toggle` in your `config/laravel-menu/settings.php`.
1363
+
1362
1364
#### Adding class attributes to child items
1363
1365
1364
1366
Like adding a class to the menu `ul` and `ol`, classes can be added the submenu too. The three parameters to `asUl` are arrays as follows:
0 commit comments