kartik datecontrol

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

When I use this code my input is blank.

[code]

echo Form::widget([

model’ => $model,

    'form' => $form,


    'columns' => 3,


    'attributes' => [


       'created' => [


            'widgetClass'=>'\kartik\datecontrol\DateControl', 


            'type'=> Form::INPUT_WIDGET,


        ]


    ]


]);'

[\code]

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