omeralpi / shadcn-phone-input

Customizable phone input component with proper validation for any country. Built on top of shadcn.
https://shadcn-phone-input.vercel.app
MIT License
422 stars 28 forks source link

Do we have react native equivalent for this library? #18

Closed kuldip-simform closed 3 months ago

kuldip-simform commented 5 months ago

I am developing an app in React Native, and I have checked out so many phone-inputs but nothing seems to work perfectly or in real-time. Some of them are actually pretty slow at formatting numbers while typing so if you have any idea how I can use this package in React Native, that would be helpful. Thank you.

kuldip-simform commented 3 months ago

HI @omeralpi Can you please reply to my question if I can use this tool in react native or do you have plan to add support for react-native?

omeralpi commented 3 months ago

HI @omeralpi Can you please reply to my question if I can use this tool in react native or do you have plan to add support for react-native?

Hi,

React Native does not support it and it does not seem possible in the future either.

You can look into alternative packages. https://www.npmjs.com/package/react-native-phone-number-input

kuldip-simform commented 3 months ago

@omeralpi I am using that package in my project. Thank you for your response.