From 63bd5c9d763d30972e76f72e6279217a278a32ea Mon Sep 17 00:00:00 2001 From: Borales Date: Sat, 10 Jun 2017 18:42:26 +0200 Subject: [PATCH] Releasing 0.1.0 --- CHANGELOG.md | 5 +++-- README.md | 4 ++++ composer.json | 4 ---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 794b6b8..724ba36 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 72433b1..a639a8f 100644 --- a/README.md +++ b/README.md @@ -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]])`). diff --git a/composer.json b/composer.json index 42680e8..6f784eb 100644 --- a/composer.json +++ b/composer.json @@ -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",