The current implementation of phone number validation for proposal field values(src/fieldValidation.ts) uses a regex which is fundamentally limited. It should be refactored to use an appropriate validation library, such as https://www.npmjs.com/package/phone, (or maybe there is an ajv utility for it).
Related to Issue #760
The current implementation of phone number validation for proposal field values(
src/fieldValidation.ts
) uses a regex which is fundamentally limited. It should be refactored to use an appropriate validation library, such as https://www.npmjs.com/package/phone, (or maybe there is an ajv utility for it).