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

File Input Widget Views / Bootstrap 4 #13

Open
juppwerner opened this issue Jan 20, 2022 · 2 comments
Open

File Input Widget Views / Bootstrap 4 #13

juppwerner opened this issue Jan 20, 2022 · 2 comments

Comments

@juppwerner
Copy link

juppwerner commented Jan 20, 2022

Hello,

I tested this extension with a current installation of the Yii basic app template.
This template is using Bootstrap 4.

So in these files:

vendor\floor12\yii2-module-files\src\components\views\multiFileInputWidget.php and

vendor\floor12\yii2-module-files\src\components\views\singleFileInputWidget.php

In the case of using Yii Bootstrap 4, you should replace yii\bootstrap\BootstrapPluginAsset with yii\bootstrap4\BootstrapPluginAsset?

Perhaps there are other occurrences of yii\bootstrap... .

Thank you.

Regards
Joachim

@floor12
Copy link
Owner

floor12 commented Jan 21, 2022

In a good way, we need to put this in the module settings, in its attributes. Can you pull a request for this change?

@floor12
Copy link
Owner

floor12 commented Jan 21, 2022

You can easily inherit from this widget and make your own edits to work with bootstrap4.

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

No branches or pull requests

2 participants