Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country code selection in user add and edit forms #262

Open
kc-diabeat opened this issue Jun 14, 2024 · 8 comments
Open

Country code selection in user add and edit forms #262

kc-diabeat opened this issue Jun 14, 2024 · 8 comments
Labels

Comments

@kc-diabeat
Copy link
Contributor

kc-diabeat commented Jun 14, 2024

Description
The App Panel has a section for managing application users. Currently the Add and Edit forms have hardcoded country code as "+91" which cannot be modified.

Feature
The country code should be a selectable field anb the desired country can be selected by searching its name. Pls refer to the reference interaction below:
ScreenRecording2024-06-14at3 52 20PM-ezgif com-video-to-gif-converter

@shambhabya
Copy link

Can I work on this?

@deepakdinesh1123
Copy link
Contributor

@shambhabya Please feel free to work on this issue. Before beginning, could you please outline the approach that you plan to take to solve this? Additionally, if you require any help or resources, let us know.

@rahil1202
Copy link

Hey @shambhabya, I am planning to implement a selectable country code field with search functionality using react-phone-input-2. libraries provide pre-built components that handle country selection and phone number input with country codes.

@shambhabya
Copy link

@rahil1202 Sure, go ahead if you want to

@deepakdinesh1123
Copy link
Contributor

@rahil1202 In Zango, we ensure that both the backend and frontend use the same configuration options by sending these options from the backend.

This feature requires the backend to send a list of available countries and their phone number extensions, which the frontend will then use. Let me know if you'd like to implement both the backend and frontend for this, or if you'd prefer to implement just the frontend while I handle the backend.

@rahil1202
Copy link

@deepakdinesh1123 I'll update both frontend and backend. Thank you for clarification

@shahharsh176
Copy link
Contributor

Hi @rahil1202 , did you get a chance to work on it?

@rahil1202
Copy link

@shahharsh176 I have updated the frontend will work on backend soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants