material-ui-phone-number icon indicating copy to clipboard operation
material-ui-phone-number copied to clipboard

Changing the input changes the flag as well.

Open ManthanCedric opened this issue 1 year ago • 0 comments

When I type a number with defaultCountry={'ca'} (Country code: +1), the flag changes to the USA (Country code: +1).

Before typing image

After typing number: image

There might be a mechanism to auto-detect the country code based on the number. How can I prevent this from happening if I have already selected the country?

Note: When I select Canada from the country code selection, it locks the country code, and it displays the Canadian country code while typing.

image

ManthanCedric avatar Jan 02 '24 13:01 ManthanCedric