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

Dynamic masking based on input length #21

Open
felipesilvati opened this issue Dec 13, 2018 · 0 comments
Open

Dynamic masking based on input length #21

felipesilvati opened this issue Dec 13, 2018 · 0 comments

Comments

@felipesilvati
Copy link

I need to have a text input so that the user can type the company brazillian CNPJ number (14 digits) or a brazillian CPF (11 digits) with a dynamic mask according to the length of the text, as the example below:

CNPJ: 12.345.789/1011-12
CPF: 123.456.789-01

Is there are way to do this using vue-bulma/cleave ? If not, that'd be a really great feature to be implemented in the next release. Thanks a lot.

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

No branches or pull requests

1 participant