Answers for "kartik datepicker"

2

kartik datepicker

$form->field($model, 'attribute')->widget(\kartik\date\DatePicker::classname(), [
        'pluginOptions' => [
            'autoclose' => true,
            'format' => 'yyyy-mm-dd',
            'todayHighlight' => true
        ]
    ]);
Posted by: Guest on August-14-2020
1

kartik datepicker

$ php composer.phar require kartik-v/yii2-widget-datepicker "@dev"
Posted by: Guest on August-14-2020
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