Compare commits
No commits in common. "f5e18180478cf068888efb5b7fc5fb15467bdd20" and "b650c395b3101d050033db59305061f71e91b1b7" have entirely different histories.
f5e1818047
...
b650c395b3
|
@ -21,7 +21,7 @@ const validateInput = (evt: KeyboardEvent) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const validate = () => {
|
const validate = () => {
|
||||||
const phone_regexp = /^\+?[\d\s-()]{0,14}\d{11}$/
|
const phone_regexp = /\(?\+[0-9]{1,3}\)? ?-?[0-9]{1,3} ?-?[0-9]{3,5} ?-?[0-9]{4}( ?-?[0-9]{3})? ?(\w{1,10}\s?\d{1,6})?/
|
||||||
const email_regex = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/
|
const email_regex = /^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/
|
||||||
|
|
||||||
if (modal_phone.value.length < 3) {
|
if (modal_phone.value.length < 3) {
|
||||||
|
|
Loading…
Reference in New Issue