cleave icon indicating copy to clipboard operation
cleave copied to clipboard

Dynamic masking based on input length

Open felipesilvati opened this issue 6 years ago • 0 comments

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.

felipesilvati avatar Dec 13 '18 15:12 felipesilvati