Closed sandor-molnar closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@kartik-v
Hi you need to install kartik\bs4dropdown\ButtonDropdown via composer by adding kartik-v/yii2-bootstrap4-dropdown package to your composer config and update if you are using bootstrap 4. This has not been included by default because this extension is not needed for bootstrap 3. Will figure out later and see if it can be enhanced.
I required this package with "composer require kartik-v/yii2-bootstrap4-dropdown "@dev"'
Then changed the yii/grid/GridView to kartik\grid\GridView, and i got
"Class 'kartik\bs4dropdown\ButtonDropdown' not found" error.
After installing kartik-v/yii2-bootstrap4-dropdown "@dev", the problem solved, but it's seems this package depends on bs4dropdown, but it's not in composer.json.