Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'kartik\bs4dropdown\ButtonDropdown' not found #940

Closed
sandor-molnar opened this issue Dec 10, 2019 · 3 comments
Closed

Class 'kartik\bs4dropdown\ButtonDropdown' not found #940

sandor-molnar opened this issue Dec 10, 2019 · 3 comments

Comments

@sandor-molnar
Copy link

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.

@stale
Copy link

stale bot commented Feb 8, 2020

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.

@stale stale bot added the wontfix label Feb 8, 2020
@sandor-molnar
Copy link
Author

@kartik-v

@stale stale bot removed the wontfix label Feb 8, 2020
@kartik-v
Copy link
Owner

kartik-v commented Feb 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants