alexplumb / material-ui-phone-number

Fork of react-phone-input-2 for the Material-UI library
MIT License
121 stars 180 forks source link

Fixed a bug country code can be changed when countryCodeEditable is false. #126

Open nurullah opened 2 years ago

nurullah commented 2 years ago

When countryCodeEditable is false, the country code cannot be deleted. It is normal until here. However, if we start typing numbers after clicking the country code with the mouse cursor, we can change the country code. This pr solves this bug.

justdvl commented 2 years ago

Hello @nurullah , can you please submit your PR to actively maintained new version of this library?

https://github.com/justdvl/material-ui-phone-number-2