2017 © Pedro Peláez
 

library yii2-datepicker

Datepicker active form field for yii2 framework

image

filsh/yii2-datepicker

Datepicker active form field for yii2 framework

  • Tuesday, March 1, 2016
  • by Filsh
  • Repository
  • 1 Watchers
  • 1 Stars
  • 195 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-datepicker

Datepicker active form field for yii2 framework, (*1)

Dependencies

https://github.com/Filsh/bootstrap-datepicker, (*2)

Usage

for active form, (*3)

<?= $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() ?>

The Versions

01/03 2016

dev-master

9999999-dev

Datepicker active form field for yii2 framework

  Sources   Download

BSD-3-Clause

The Requires

 

by Igor Maliy

yii datepicker