Closed ahmadfadlydziljalal closed 7 years ago
Thats code works fro me:
<?= $form->field($model, 'date')->widget(
DateTimePicker::className(), [
// modify template for custom rendering
'template' => '{input}',
'clientOptions' => [
'autoclose' => true,
'format' => 'dd.mm.yyyy hh:ii',
'todayBtn' => true,
'pickerPosition' => 'bottom-left'
]
]);?>
Thanks @MazheM
pickerPosition
is actually an attribute of the jquery plugin not the widget itself.
Is there pickerPosition is exist, pickerPosition gives me : unknown property.