2017 © Pedro Peláez
 

yii2-extension yii2-datepicker

Widget datepicker jquery ui with update style.

image

keygenqt/yii2-datepicker

Widget datepicker jquery ui with update style.

  • Sunday, July 2, 2017
  • by keygenqt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 255 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 3 % Grown

The README.md

Datepicker

GitHub Packagist Downloads, (*1)

Yii2 DatePicker jquery ui with style like bootstrap., (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either add, (*4)

"require": {
    "keygenqt/yii2-datepicker": "*"
},

of your composer.json file., (*5)

Usage

View:, (*6)

use keygenqt\datePicker\DatePicker;

= DatePicker::widget([
        'model' => $model,
        'attribute' => 'updated',
        'language' => 'en-US',
        'dateFormat' => 'php:d-M-Y',
        'clientOptions' => [
            'showOtherMonths' => true,
            'selectOtherMonths' => true,
            'dayNamesMin' => array('S', 'M', 'T', 'W', 'T', 'F', 'S')
        ]
]) ?>

View:, (*7)

use keygenqt\datePicker\DatePicker;

= $form->field($model, 'date')->widget(DatePicker::className(), [
    'placeholder' => 'Date',
    'icon' => false,
    'selectDay' => false,
    'dateFormat' => 'php:F, Y'
]); ?>

Screenshot

Alt text Alt text, (*8)

The Versions

02/07 2017

dev-master

9999999-dev https://github.com/keygenqt/yii2-datepicker

Widget datepicker jquery ui with update style.

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii2 jquery widget keygenqt