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

Update README.md #26

Open
adrianmatthews opened this issue Apr 20, 2017 · 0 comments
Open

Update README.md #26

adrianmatthews opened this issue Apr 20, 2017 · 0 comments
Assignees
Labels
Projects

Comments

@adrianmatthews
Copy link

The following example code contains the jsOption 'allowExtensions'.
This should be removed because the autoFormat / allowExtensions / getExtension functionality was removed in v8.0.0.

use borales\extensions\phoneInput\PhoneInput;

echo PhoneInput::widget([
    'name' => 'phone_number',
    'jsOptions' => [
        'allowExtensions' => true,
        'onlyCountries' => ['no', 'pl', 'ua'],
    ]
]);
@Borales Borales self-assigned this Apr 20, 2017
@Borales Borales added the bug label Apr 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants