obarabolia / yii2-airdatetime-widget
Date/Time Picker widget for Yii2 framework
Installs: 29
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/air-datepicker: *
- yiisoft/yii2: ^2.0
This package is auto-updated.
Last update: 2021-03-15 20:30:33 UTC
README
Date/Time Picker widget without bootstrap for Yii2 framework Based on Air Datepicker
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require obarabolia/yii2-airdatetime-widget
or add
"obarabolia/yii2-datetime-widget": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
<?php echo $form->field($model, 'attribute')->widget( obarabolia\yii2\airdatepicker\DateTimeWidget::class, [ ... options ... ] ); ?>