dev-master
9999999-devAdds a timepicker widget to Yii2 JUI
MIT
The Requires
- yiisoft/yii2 *
- yiisoft/yii2-jui *
- bower-asset/jqueryui-timepicker-addon *
by PX loc
yii2 timepicker jui phamxuanloc
Adds a timepicker widget to Yii2 JUI
Adds a timepicker widget to Yii2 JUI, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist phamxuanloc/yii2-jui-timepicker "*"
or add, (*4)
"phamxuanloc/yii2-jui-timepicker": "*"
to the require section of your composer.json
file., (*5)
Once the extension is installed, simply use it in your code by :, (*6)
<?= $form->field($model, 'datetime')->widget(\phamxuanloc\jui\DateTimePicker::className()) ?>
<?= $form->field($model, 'time')->widget(\phamxuanloc\jui\DateTimePicker::className(), ['timeOnly' => true]) ?>
Adds a timepicker widget to Yii2 JUI
MIT
yii2 timepicker jui phamxuanloc