Open renanpvaz opened 6 years ago
i have the same issue here, both for cpf and cnpj masks!! :s
hey, i found the reason!!! check if the number of cpf is correct!! i tried to use 999.999.999-99 and the mask return undefined, when i put my own cpf number (valid number) the mask return the correct cpf!!
I'm having this problem too
Add this to field and the validation will be disabled, all values will be accepted
ng-model-options="{ allowInvalid: true }"
I tested it and the other masks seem to work, but the CPF one has something wrong with it. I'm using the 2.6.0 version, which is the latest I found for bower (yes unfortunately I'm using it).
This is how I tried using it (the input is wrapped by a form inside a component's template):
I found, however, a small workaround that has weird behavior sometimes:
If this has been fixed already, publishing the updated version to bower would really help me out!