Hello Team,
I've used the Phone number input component and on the Default value I've put the Country code + Mobile number value,
Now it's come from the API call and when I open that Container it's not reflecting the correct Country code,
If I try to change the value of the mobile number and put that value back, then it shows the correct country code.
Steps to reproduce:
- have a list of users, on click of view details call a query to fetch the user data
- Now in the query, you will get the country code and mobile number,
- I'm combining them and putting them as the default value to Phone Number Input.
- You can check there is not correct Country code, If you just try to change the mobile number's last digit and put it back the correct country code is visible now.
PS: you need to have a different country mobile number to reproduce