readly24/yii2-air-datepicker

Air datepicker

Installs: 94

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:yii2-extension

pkg:composer/readly24/yii2-air-datepicker

dev-master 2018-04-14 15:21 UTC

This package is not auto-updated.

Last update: 2025-10-07 11:29:02 UTC


README

Air datepicker

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist readly24/yii2-air-datepicker "*"

or add

"readly24/yii2-air-datepicker": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= $form->field($model, 'birth')->widget(DatePicker::className(), [
                                        'clientOptions' => [
                                            'autoClose' => true,
                                            'dateFormat' =>'dd/mm/yyyy'
                                        ],
                                    ])?>