Add custom masks #105
Closed
adrielschmitz
started this conversation in
General
Replies: 1 comment
-
Hi @adrielschmitz, please open a pull-request on typesnippet/react-phone-hooks suggesting mask change for Brazil. Also, please put a wikipedia or other link that proves the correctness of the suggestion. I will review it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The Brazilian standard is now 5 numbers and then 4... today the input is the opposite (4 before the space and 5 at the end). I think we could add a custom_mask logic and then the mask that should be used according to the country is passed, more or less like this:
masks={{ br: '(..) .....-....' }}
Beta Was this translation helpful? Give feedback.
All reactions