Answer the question
In order to leave comments, you need to log in
Why is DateTimePicker not working in yii2?
Hello, I connect DateTimePicker via composer ( github ).
Further in the form:
<?= DateTimePicker::widget([
'name' => 'start',
'options' => ['placeholder' => 'выбери старт время пацан...'],
'convertFormat' => true,
'pluginOptions' => [
'format' => 'dd.MM.yyyy hh:i:s',
'startDate' => '01-Mar-2014 12:00 AM',
'todayHighlight' => true
]
]); ?>
Answer the question
In order to leave comments, you need to log in
https://developer.mozilla.org/ru/docs/Web/HTML/Ele... possible without YII
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question