Closed adamwinn closed 5 years ago
You need to setup the Bootstrap version for Krajee Widgets. Read the documentation for Dynagrid Bootstrap version setup.
I already read the docs and setup dynagrid.
'dynagrid'=>[
'class'=>'\kartik\dynagrid\Module',
'defaultPageSize'=>50,
'maxPageSize'=>200,
'bsVersion'=>'4.x',
],
I had to change use yii\bootstrap\Modal
to use yii\bootstrap4\Modal
I see. I understand the issue (it is in the views file - recorded a bug ... will check and update).
Fixed via latest update. Cross check and let know.
It's fixed! Thanks
Prerequisites
master
branch of yii2-dynagrid.Steps to reproduce the issue
Class 'yii\bootstrap\Modal' not found
Modal::SIZE_LARGE
is referring to the bootstrap3 version of SIZE_LARGE and it cannot be found if only bootstrap4 is installed