garganurag893 / react-native-phone-number-input

React Native component for phone number.
MIT License
373 stars 216 forks source link

The focus method was added #82

Open LPMendoza opened 2 years ago

LPMendoza commented 2 years ago

Now the developers can use the focus method to focus the input.

Example: <PhoneInput ref={inputPhone} /> <Button title='focus' onPress={() => inputPhone.current?.focus()} />

lghimfus commented 2 years ago

this would be quite useful

jeremykanso commented 2 years ago

@garganurag893 Hello I also tested that PR, can you just merge it and republish npm package plz ?

FondueBug commented 10 months ago

It's so great that this is still not merged.

DroidZed commented 6 months ago

Please add the necessary typing in index.d.ts to conform with the changes in the js file.

+ focus: () => void;
LPMendoza commented 6 months ago

I have added the necessary typing to this PR Can you review it please? I think this is useful for the people @DroidZed @garganurag893 @janziemba @nachozullo 🙌🏻

LPMendoza commented 4 months ago

Is this library not maintained? The @garganurag893 profile shows that he has not coding all this year and part of the last one 🤔

ernest0vm commented 4 months ago

Is this library not maintained? The @garganurag893 profile shows that he has not coding all this year and part of the last one 🤔

maybe we can make a fork into our organization