Dear All,
I am still newer in YII framework,
When we try create code use YII and Kartik Widget, I have problem with :
Fatal error: Class ‘kartik\yii2daterange\DateRangePicker’ not found in C:\xampp\htdocs\latihan4\protected\views\layouts\main.php
What problem and what must I do
Thanks
Rachman
here my code
<?php
use kartik\widgets\DatePicker;
use kartik\yii2daterange\DateRangePicker;
echo DateRangePicker::widget([
'model'=>$model,
'attribute'=>'datetime_range',
'convertFormat'=>true,
'pluginOptions'=>[
'timePicker'=>true,
'timePickerIncrement'=>30,
'format'=>'Y-m-d h:i A'
]
]);
?>