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]