Closed Fcmam5 closed 4 years ago
@Fcmam5 I will take getPhoneCodeForWilaya
and getPhoneCodesForWilaya
@oussamabouchikhi please check #20 , let's keep this issue for first-timers 😄
@oussamabouchikhi please check #20 , let's keep this issue for first-timers 😄
No problem
Hi! May I contribute by taking on this issue?
I would love to have this for my first time, if you need someone to help i think i could do this
Hi! May I contribute by taking on this issue?
@joeylnguyen you got it! Happy Hacktober Hacking 🎉 !
I would love to have this for my first time, if you need someone to help i think i could do this
@xxKeefer you can take #24 😄
⚠️⚠️⚠️
This issue is for first-timers only, we'd like you to start your open-source journey from here 😄 ⚠️⚠️⚠️
As a library consumer, I would like to have a method that returns phone codes for each wilaya.
One of the use cases for this feature is with forms; in order to have a better user experience, we would like to set the phone code initials when the user select their wilaya. For example: if I fill the address block and set my city to Oran (code: 31) I would like if the phone number block is set automatically to 041.
What we want to add:
getPhoneCodeForWilaya
function that takes one parameter (wilayaCode: number) and returns the first phone code (as a wilaya, like Algiers have two phone codes: 21, 23).getPhoneCodesForWilaya
function that takes one parameter (wilayaCode: number) and returns an array of all phoneCodes of that wilaya.NB:
Happy Hacking !