Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrserg161 committed Aug 29, 2017
1 parent 60efc35 commit cac2f5b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The preferred way to install this extension is through [composer](http://getcomp
Either run

```
composer require --prefer-dist mrerg161/yii2-airdatepicker "*"
composer require --prefer-dist mrserg161/yii2-airdatepicker "*"
```

or add
Expand All @@ -36,14 +36,13 @@ Once the extension is installed, simply use it in your code by :
use mrserg161\airdatepicker\DatePicker;
?>


<?= $form->field($model, 'date')
->widget(
DatePicker::class, [
'clientOptions' => [
'autoClose' => true,
'timepicker' => true,
'clientOptions' => [
'autoClose' => true,
'timepicker' => true,
]
]
]) ?>

)?>
```

0 comments on commit cac2f5b

Please sign in to comment.