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.
I tried to change the value from
'data-toggle-attribute'=>'data-bs-toggle' in same file metioned above, But its not getting changed there.
return array(
'default' => array(
'auto_activate' => true,
'activate_parents' => true,
'active_class' => 'active',
'restful' => false,
'cascade_data' => true,
'rest_base' => '', // string|array
'active_element' => 'item', // item|link
'data_toggle_attribute' => 'data-bs-toggle',
),
);
Can you please help me what changes I need to do more for this one?
Thanks