TIPOFF / addresses

Laravel Package to manage addresses & interact with Address API
MIT License
0 stars 2 forks source link

Phone Livewire Component #73

Closed drewroberts closed 3 years ago

drewroberts commented 3 years ago

I want a Livewire component for a Phone (#58) number entry form. This will be a single field with a dropdown on the left for the Country Calling Codes (#67) that uses a flag icon or emoji for the Country (#15) and has the dropdown that looks like this:

Screen Shot 2021-03-18 at 12 14 25 PM

The phone number entry should allow any format and if it is a US number, then it will save it accordingly in the phones database table.

Screen Shot 2021-03-18 at 12 14 07 PM

Here's the article where I took these photos and it has the code for the form they created:

https://www.twilio.com/blog/international-phone-number-input-html-javascript

drewroberts commented 3 years ago

I don't need the Verify button after the form as in the example through that link.

djamesfar commented 3 years ago

The latest version of the intlTelInput javascript library referred to in the twilio link above does not work. Had to revert to a previous version of the library.