Open crhistianramirez opened 2 years ago
+1 on this Same problem. There is a lot of countries to have a specific conditional for each of them.
@sanniassin, any plans to make mask work with an array?
+1 on this
Hi @sanniassin, can you help us?
+1 on this
Hello @sanniassin, you have some news about it?
Given that the last commit to this repo was Jan 21st, 2020 I don't think we have much hope on @sanniassin to deliver on this. Someone else will need to roll up their sleeves
edit: this repo is dead
I'm building an ecommerce application that needs to be supported globally. This means that we work with various formats for zipcode amongst other things. In the United States a zip code can either be 5 digit or 9 digits, and I'd like my users to be able to do both. I found this solution which solves it but because I need to support so many countries it would be preferable for me to store a countries definition array that has the mask defined ahead of time, and allows me to simply use it dynamically.