Answers for "datepicker kartik yii2"

0

kartik datepicker

$form->field($model, 'attribute')->widget(DatePicker::classname(), [
    'options' => ['placeholder' => 'Enter birth date ...'],
    'pluginOptions' => [
        'autoclose'=>true,
        'todayHighlight' => true,
        'format' => 'yyyy/mm/dd',?,'yyyy-mm-dd',
    ]
]);
Posted by: Guest on September-16-2020

Browse Popular Code Answers by Language