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

created the 'сustom-validate' prop to validate with regex #152

Merged
merged 1 commit into from
Dec 10, 2019

Conversation

Alexandernoa
Copy link
Contributor

@Alexandernoa Alexandernoa commented Dec 9, 2019

Has been added new attribute custom-validate which takes the value as a regular expression.
For example. Limit to entering the numbers only.

<vue-tel-input :custom-validate="/^[0-9]*$/" />

It helps to solve the issue #27

@iamstevendao iamstevendao merged commit 604fa5c into iamstevendao:master Dec 10, 2019
@iamstevendao
Copy link
Owner

@Alexandernoa Thanks for your help! It has been shipped in v4.1.0.

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

Successfully merging this pull request may close these issues.

3 participants