Answers for "datepicker datetimepicker"

2

kartik datepicker

$form->field($model, 'attribute')->widget(kartikdateDatePicker::classname(), [
        'pluginOptions' => [
            'autoclose' => true,
            'format' => 'yyyy-mm-dd',
            'todayHighlight' => true
        ]
    ]);
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
0

datetimepicker

$('#datetimepicker').datetimepicker();
Posted by: Guest on March-14-2021
0

datetimepicker

$('#datetimepicker').datetimepicker('hide');
Posted by: Guest on March-14-2021

Browse Popular Code Answers by Language