2017 © Pedro Peláez
 

yii2-extension yii2-pickadate

pickadate.js Extention for Yii2

image

perminder-klair/yii2-pickadate

pickadate.js Extention for Yii2

  • Wednesday, April 30, 2014
  • by perminder-klair
  • Repository
  • 1 Watchers
  • 1 Stars
  • 113 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

pickadate.js for Yii2

pickadate.js Extention for Yii2, (*1)

The mobile-friendly, responsive, and lightweight jQuery date & time input picker., (*2)

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist perminder-klair/yii2-pickadate "*"

or add, (*5)

"perminder-klair/yii2-pickadate": "*"

to the require section of your composer.json file., (*6)

Usage

Once the extension is installed, simply use it in your code by :, (*7)

php <?= \kato\pickadate\Pickadate::widget([ 'isTime' => true, 'pickadateOptions' => [ 'formatSubmit' => 'HH:i', ], ]); ?>, (*8)

To use with active form :, (*9)

php <?= $form->field($model, 'time-field')->widget(\kato\pickadate\Pickadate::classname(), [ 'isTime' => true, 'pickadateOptions' => [ 'formatSubmit' => 'HH:i', ], ]); ?>, (*10)

The Versions

30/04 2014

dev-master

9999999-dev

pickadate.js Extention for Yii2

  Sources   Download

MIT

extension yii2 pickadate