kartik datecontrol

Whats the right way to configure Karik Form Widget for a DateControl.

When I use this code my input is blank.


echo Form::widget([

model’ => $model,

    'form' => $form,

    'columns' => 3,

    'attributes' => [

       'created' => [


            'type'=> Form::INPUT_WIDGET,





Try to add the ‘value’

Did you consulted http://demos.krajee.com/datecontrol ?

Implement kartik date control module in web.php then just use normal datepicker of kartik.it will work