alexplumb / material-ui-phone-number

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

Doesn't work with Morocco #133

Open younes-alouani opened 2 years ago

younes-alouani commented 2 years ago

Selecting Morocco (+212) results in typing 212 with every key

v1b3m commented 2 years ago

Yeah, this is very weird behaviour

https://user-images.githubusercontent.com/39791369/178709676-d73f1cce-591d-4fde-9d59-dc34e283d09c.mov

v1b3m commented 2 years ago

There's already a PR with a fix. PR hasn't been merged so you could optionally install the npm package using the fork

npm install https://github.com/BindrUK/material-ui-phone-number.git