You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original libphonenumber by Google does use dashes though. Since our own standards suggest using dash and removal of it was a decision of libphonenumber-js author we reintroduced them. I suppose we can make this configurable.
Hi,
On this line
https://github.com/taiga-family/maskito/blame/74654ef3e3807e462be2f0db1469d0ea9a4079ca/projects/phone/src/lib/masks/phone/utils/get-phone-template.ts#L10
A join with '-' is made for the last part of any phone number. This is wrong and breaks any validation done by libphonenumber-js library when using parsePhoneNumberFromString.
I assume it is maybe a standard format number in russia or other countries but many EU countries do not have any characters in their national phone number
The text was updated successfully, but these errors were encountered: