Last active
December 12, 2018 11:33
-
-
Save clint74/a7600a9770f11f5573d2cccb136bfca5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<q-page> | |
<q-input | |
float-label="CNPJ/CPF BR" | |
v-mask="['###.###.###-##', '##.###.###/####-##']" | |
placeholder="only numbers" | |
v-model="form.cpfCnpj" | |
</q-input> | |
</q-page> | |
</template> | |
export default { | |
data () { | |
// vue the mask with quasar | |
// based on sample provided by https://github.com/rogeriomq on telegram | |
// https://github.com/vuejs-tips/vue-the-mask | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment