You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using flatpicker date picker in bootstrap modal.When i click on modal that date picker is coming ,but when we click on any date ,time ,sec or any place of the date picker then that date picker pop up is closed.
i am using flatpickr v4.4.4 js in yii2
I displaying datePicker in modal.When click on anywhere of the datepicker then datepicker is closed
Below is my yii2 Code.
echo $form->field($model, $updateFieldName)->widget(FlatpickrWidget::className(), [
'locale' => strtolower(substr(Yii::$app->language, 0, 2)),
'plugins'=> [
'minMaxTimePlugin'=>[
'table'=> [
$date[0] => [
'minTime' => $date[1]
]
]
]
],
'groupBtnShow' => true,
'options' => [
'class' => 'form-control',
],
'clientOptions' => [
/'allowInput' => true,/
'minDate' => $tripCreateTime,
'enableTime' => true,
'time_24hr' => true,
'dateFormat'=> "d-m-Y H:i:00",
'minuteIncrement'=>1,
],
]);
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I am using flatpicker date picker in bootstrap modal.When i click on modal that date picker is coming ,but when we click on any date ,time ,sec or any place of the date picker then that date picker pop up is closed.
i am using flatpickr v4.4.4 js in yii2
I displaying datePicker in modal.When click on anywhere of the datepicker then datepicker is closed
Below is my yii2 Code.
echo $form->field($model, $updateFieldName)->widget(FlatpickrWidget::className(), [
'locale' => strtolower(substr(Yii::$app->language, 0, 2)),
'plugins'=> [
'minMaxTimePlugin'=>[
'table'=> [
$date[0] => [
'minTime' => $date[1]
]
]
]
],
'groupBtnShow' => true,
'options' => [
'class' => 'form-control',
],
'clientOptions' => [
/'allowInput' => true,/
'minDate' => $tripCreateTime,
'enableTime' => true,
'time_24hr' => true,
'dateFormat'=> "d-m-Y H:i:00",
'minuteIncrement'=>1,
Thanks in advance.
The text was updated successfully, but these errors were encountered: