Open emafriedrich opened 3 months ago
isValid
only validates the digits in the string by default.
If you need those to fail, you may send a second parameter called strict, for stricter validation. It will return false if there are any non-digit characters, except "." and "-", which are ignored.
example: v.cpf.isValid(value, false)
.
We have a issue regarding validations with strings that has spaces and letters
We consider this as a big issue. You will know if is intended this behavior.
Just to let you know.
Thanks