project-error / npwd

NPWD is a FiveM phone resource written entirely in TypeScript and React.
https://projecterror.dev
Other
336 stars 277 forks source link

Add validation to numbers entered for calling/messaging #1104

Open ResqDiver1317 opened 6 months ago

ResqDiver1317 commented 6 months ago

Application

Dialer, Messages, Contacts

Dependency

No

Feature Description

So the system assigns numbers in the "US" format xxx-xxx-xxxx which is fine, however IRL when someone dials a phone number, they do not have to enter the hyphens. If you enter a number to call or message in NPWD without the hypens, the other person will never get it as the system isn't smart enough to undestand 555-555-1212 is the same as 5555551212. Can a feature be added that if someone enters 5555551212 the system will process it as 555-555-1212 so the calls/messages actually go through?

References

No response