cleave
cleave copied to clipboard
Dynamic masking based on input length
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.