Skip to content

Commit 8b2d01a

Browse files
authored
Update README.md
Change version from @dev to dev-master in composer install
1 parent 6247a68 commit 8b2d01a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ The preferred way to install this extension is through [composer](http://getcomp
88
To install, either run
99

1010
```
11-
$ php composer.phar require gitrequests/yii2-widget-easyautocomplete "@dev"
11+
$ php composer.phar require gitrequests/yii2-widget-easyautocomplete "dev-master"
1212
```
1313

1414
or add
1515

1616
```
17-
"gitrequests/yii2-widget-easyautocomplete": "@dev"
17+
"gitrequests/yii2-widget-easyautocomplete": "dev-master"
1818
```
1919

2020
to the ```require``` section of your `composer.json` file.
@@ -34,7 +34,7 @@ You can also use this widget in an [[ActiveForm]] using the [[ActiveField::widge
3434
method, for example like this:
3535

3636
```php
37-
<?= $form->field($model, 'address')->widget(EasyAutocomplete::className(), [
37+
echo $form->field($model, 'address')->widget(EasyAutocomplete::className(), [
3838
'pluginOptions' => [
3939
'url' => Url::to('data/countries.json'),
4040
'getValue' => 'name'
@@ -44,7 +44,7 @@ method, for example like this:
4444
For use with list events||functions (custom match function for example):
4545

4646
```php
47-
<?= $form->field($model, 'address')->widget(EasyAutocomplete::className(), [
47+
echo $form->field($model, 'address')->widget(EasyAutocomplete::className(), [
4848
'pluginOptions' => [
4949
'url' => Url::to('data/countries.json'),
5050
'getValue' => 'name'
@@ -72,4 +72,4 @@ For use with list events||functions (custom match function for example):
7272
]
7373
]
7474
]);
75-
```
75+
```

0 commit comments

Comments
 (0)