@@ -8,13 +8,13 @@ The preferred way to install this extension is through [composer](http://getcomp
88To 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
1414or add
1515
1616```
17- "gitrequests/yii2-widget-easyautocomplete": "@ dev"
17+ "gitrequests/yii2-widget-easyautocomplete": "dev-master "
1818```
1919
2020to 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
3434method, 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:
4444For 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