As the title says, what is the process to applying a customValidate regex in vue-tel-input? You can see customValidate as the last item in the list of props. I have a standard setup like in this code sandbox. However, when I add a regex for the phone number to only allow a phone number with digits and a starting "+", the code hangs and kills my browser, customValidate: /^\+\d+$/. Is my formatting correct or is there another approach I should take? Is my regex ok?
Asked
Active
Viewed 1,234 times
3
atw
- 5,428
- 10
- 39
- 63
-
2facing same, did you find a solution? – Syed Ali Taqi Jun 05 '20 at 10:24