viclafouch / mui-tel-input

📌 A phone number input designed for MUI (Material ui) V6 built with libphonenumber-js
https://viclafouch.github.io/mui-tel-input
MIT License
171 stars 66 forks source link

Feature Request: Add option to enter the extension in the input #85

Closed bryanjtc closed 1 year ago

bryanjtc commented 1 year ago

What I would like is a second input field for the extension or allow typing ; and the extension. This would also show the extension if there is one one the field because it does not show it now. Could have a prop for allowExtension (true) by default which would show the extension field. another prop for extensionDelimiter (x) by default. This would be put into the value returned.

viclafouch commented 1 year ago

Hello !

Don't hesitate to open a PR !