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

Not able to populate correct data, in Edit mode #372

Open
Kickbuttowaski opened this issue Jun 26, 2021 · 1 comment
Open

Not able to populate correct data, in Edit mode #372

Kickbuttowaski opened this issue Jun 26, 2021 · 1 comment

Comments

@Kickbuttowaski
Copy link

I am having a user modal with a phone number field, during create mode I had no issues.
Once the data has been saved, the user can edit during which I need to populate the phone number field again. I am facing an issue here.

I am getting data like this from server '919710644621' (Indian number).
I am trying to use setNumber('919710644621'), but the field is not getting populated.
If I directly pass the data to value, the flag is not getting updated and the country code is displaying along with the phone number.

Can someone help me with this?

@lo2aai
Copy link

lo2aai commented Nov 8, 2021

Did you tried to pass + before the dial code ?

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

No branches or pull requests

2 participants