Datepicker Class Not Found

Error :Class ‘yii\jui\DatePicker’ not found

My code




use yii\jui\DatePicker;

echo DatePicker::widget(array(

'language' => 'ru',

'model' => $model,

'attribute' => 'dob',

'clientOptions' => array(

'dateFormat' => 'yy-mm-dd',

),

));

What is the problem in my code

Datepicker Doc

have you added yii2-jui extension to your composer.json? https://github.com/yiisoft/yii2-jui#jui-extension-for-yii-2

Just now i updated using composer. Thank you