Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile phone not validating correctly #42

Open
SerikK opened this issue Feb 15, 2018 · 2 comments
Open

Mobile phone not validating correctly #42

SerikK opened this issue Feb 15, 2018 · 2 comments
Assignees
Labels

Comments

@SerikK
Copy link

SerikK commented Feb 15, 2018

Hi.
Your extension does not validate correctly for Kyrgyzstan mobile phones. For example: 996505502726.

@Borales Borales self-assigned this Feb 15, 2018
@Borales Borales added the bug label Feb 15, 2018
@Borales
Copy link
Owner

Borales commented Feb 15, 2018

@SerikK could you please share a piece of code with the usage of this extension?

Does the original package validate your phone pattern? (https://github.com/giggsey/libphonenumber-for-php)

@SerikK
Copy link
Author

SerikK commented Feb 16, 2018

My code:
[ ['phone'], PhoneInputValidator::className(), 'region' => Yii::$app->params['supportedPoneCountries'], 'message' => Yii::t( 'models', 'The format of the phone is invalid or system not supported your country.' ) ],.
Yes, original package validate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants