filsh/yii2-datepicker Datepicker active form field for yii2 framework

datepicker

yii2-datepicker

Datepicker active form field for yii2 framework

Dependencies

https://github.com/Filsh/bootstrap-datepicker

Usage

for active form

<?= $form->field($model, 'datetime', [
    'class' => 'filsh\datepicker\ActiveField',
    'options' => ['class' => 'input-group'],
    'inputOptions' => [
        'class' => 'form-control',
        'placeholder' => $model->getAttributeLabel('datetime')
    ],
    'clientOptions' => [
        'format' => 'mm/dd/yyyy'
    ],
    'addon' => [
        'class' => 'input-group-addon',
        'content' => '<span class="flaticon-small58"></span>'
    ]
])->datepickerInput() ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



BSD-3-Clause license
Stats
1 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
205 total downloads