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
add the dial code to the number based on the country code appendCountryCode('9876543210', 'IN') --> +919876543210 appendCountryCode('3232666451', 'US') --> +13232666451
Feature Summary
add the dial code to the number based on the country code
appendCountryCode('9876543210', 'IN') --> +919876543210
appendCountryCode('3232666451', 'US') --> +13232666451
Use Case
There was a use case where we were getting a phone number and the country code (US, IN). We wanted to add the dial code to the number based on the country code.
Seems like a good feature to add to this library.
You folks already have the mapper in place https://github.com/razorpay/i18nify/blob/master/packages/i18nify-js/src/modules/phoneNumber/data/dialCodeMapper.ts
The text was updated successfully, but these errors were encountered: