Skip to content

Commit

Permalink
Releasing 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Borales committed Jun 10, 2017
1 parent b82fa68 commit 63bd5c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# CHANGELOG

## 0.1.0 (*under development*)
## 0.1.0 (June 10, 2017)

- Enh: Updgrading `bower-asset/intl-tel-input` to the latest major release (v10)
- Enh: Using `bower-asset/intl-tel-input: "^10"` dependency
- Enh: Using `giggsey/libphonenumber-for-php: "^8"` dependency
- Enh [#22](https://github.com/Borales/yii2-phone-input/issues/22): Updgrading `libphonenumber-for-php` library to the latest major release (v8)
- Enh [#16](https://github.com/Borales/yii2-phone-input/pull/16): Validating phone number by type (thanks to [@andrey82k](https://github.com/andrey82k))
- Bug [#17](https://github.com/Borales/yii2-phone-input/issues/17): Fixing `PhoneInputValidator` to work with `unique` validation rule
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,7 @@ class Company extends Model
}
}
```

> Note: `nationalMode` option is very important! In case if you want to manage phone numbers with country/operator code
- you have to set `nationalMode: false` in widget options
(for example, `PhoneInput::widget(...options, ['jsOptions' => ['nationalMode' => false]])`).
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@
"borales\\extensions\\phoneInput\\": "src/"
}
},
"repositories": [{
"type": "composer",
"url": "https://asset-packagist.org"
}],
"require": {
"bower-asset/intl-tel-input": "^10",
"giggsey/libphonenumber-for-php": "^8",
Expand Down

0 comments on commit 63bd5c9

Please sign in to comment.