mui-tel-input
mui-tel-input copied to clipboard
Integrating MUI Autocomplete for searching and filtering countries
This PR integrates an alternative modal to the FlagsMenu
that allows for the selection of a calling code via countries. This method integrates MUI's Autocomplete
component to allow users to type and filter the list of countries to easily find their desired calling code.
Comments are appreciated!

@viclafouch Thanks for looking through! I'll make the updates.
i need this feature 🥲
@viclafouch I've addressed your initial concerns. Let me know if there's anything else you want me to consider looking into.
Let me take a look this weekend ;)
ty !!
At the moment I have to issues with the current implementation (apart from styling ;) )
- For me (Chrome, Win10) the autocomplete doesn't work because MUI Menu captures keyboard inputs to jump to the item that starts with the letter of the key pressed. So my key strokes never even reach the input.
- If you have a default or pre-selected country, the list automatically scrolls down and you can't even see the input on top.
At the moment I have to issues with the current implementation (apart from styling ;) )
For me (Chrome, Win10) the autocomplete doesn't work because MUI Menu captures keyboard inputs to jump to the item that starts with the letter of the key pressed. So my key strokes never even reach the input.
If you have a default or pre-selected country, the list automatically scrolls down and you can't even see the input on top.
[  ](https://user-images.githubusercontent.com/731228/230065387-3fd3ad5c-4fe3-4c6c-a40e-347879d69b4f.gif) [ ](https://user-images.githubusercontent.com/731228/230065387-3fd3ad5c-4fe3-4c6c-a40e-347879d69b4f.gif)
Is this your own implementation? I'm quite sure this isn't how I've implemented this.
@ja153903 Hey! I just noticed we're using this library on one of our projects and I'm being asked to add this feature. Do you think this will be implemented any time soon or should I look for something else/build something from scratch?
Hello ! We need this feature 🙏
Would love to use this library, just need that search ability added!
Hey ! Please resolve conflict and then I will merge the PR !
Sorry for the delay !
Ty !
we need this feature please when this feature is available ?
Would love to get this in as well! Let me know if there is a way to help.
Looks like just a few conflicts from getting this merged. Would be a great addition to the library. Following for release! 😄
+1
+1