bl00mber / react-phone-input-2

:telephone_receiver: Highly customizable phone input component with auto formatting
https://bl00mber.github.io/react-phone-input-2.html
MIT License
957 stars 542 forks source link

countryCodeEditable blocks deleting the number if highlighted #385

Open patibugaj opened 3 years ago

patibugaj commented 3 years ago

User cannot delete the number if the whole number was highlighted (with country code) with the countryCodeEditable={false}. For example, the user uses the shortcut key ctrl+ A / cmd + A and clicks - nothing happens. The number is no longer highlighted but nothing was deleted. Maybe the country prefix shouldn't be able to be highlighted? I recorded a video to better explain the issue.

https://user-images.githubusercontent.com/37595963/107971244-87e92f00-6fb2-11eb-845d-eed9e78e7554.mp4

h27-webdev commented 2 years ago

@patibugaj Were you able to resolve this one?

Delwalt commented 1 year ago

I am facing same issue, do anyone have any solution for this one ?