natintosh / intl_phone_number_input

MIT License
163 stars 490 forks source link

Automatically remove current dial code from input if inputted #420

Open Avejack opened 7 months ago

Avejack commented 7 months ago

This fixes cases where autofill would input a phone number with the dial code by removing it. Current limitation: It does not automatically update the current dial code if another dial code gets inputted. It only works on the currently selected dial code. You can also input the phone number with your dial code manually and it will be removed.