Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changeset to validate if field match with cnpj or cpf format #22

Open
Moronisauner opened this issue Sep 24, 2019 · 3 comments
Open

Changeset to validate if field match with cnpj or cpf format #22

Moronisauner opened this issue Sep 24, 2019 · 3 comments

Comments

@Moronisauner
Copy link

In this issue comment you suggested an only function to validating cpf or cnpj. May be a great idea to validate if the field is according to some document format.

This make sense when you need save contacts with some document is present but not both at the same time.

@williamgueiros
Copy link
Owner

@VitorTrin what do you think ???

@VitorTrin
Copy link
Collaborator

VitorTrin commented Oct 7, 2019

Falei com o @Moronisauner a um tempo, somos colegas de trabalho, e estava pensando em criar tipos do ecto para essas situações. Já tenho um PR em fase embrionária pra isso, o #23

@williamgueiros
Copy link
Owner

manda ve, este projeto esta sendo mais seu que meu ultimamente.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants