xiaogouxo / yii2-datepicker
datepicker extension for yii2
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-09 20:50:55 UTC
README
A simple datepicker extension for yii2.
Installation
To install, either run
$ php composer.phar require xiaogouxo/yii2-datepicker "*"
or add
"xiaogouxo/yii2-datepicker": "*"
Simple Usage
echo $form->field($model, 'date_range')->widget(\xiaogouxo\datepicker\pickerDateRange::classname(), [
'jsOptions' => [
'isTodayValid' => true,
'defaultText' => " - "
]
]);
Requirements
- PHP 5.4.0 or newer