Closed asifrafeeq closed 7 years ago
<?= $form->field($model, 'fight_datetime')->widget(DateTimePicker::className(), [ 'language' => 'en', 'size' => 'ms', 'template' => '{input}{addon}', 'pickButtonIcon' => 'glyphicon glyphicon-calendar', 'inline' => false, 'clientOptions' => [ 'viewSelect' => 'decade', 'minView' => 0, 'maxView' => 4, 'autoclose' => true, 'format'=> "yyyy-mm-dd - hh:ii", 'autoclose' => true, 'startDate' => "2013-02-14 10:00", 'minuteStep' => 10, 'todayBtn' => false, 'showMeridian' => true, 'todayHighlight' => true, 'keyboardNavigation' => true, 'changeYear' => true, ] ]);?>
Maby not:
'template' => '{input}{addon}'
but
'template' => '{input}{button}'
?
gr8... thanks a lot, 'template' => '{input}{button}' works for me
Thanks @MazheM