-
-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The focus method was added #82
base: master
Are you sure you want to change the base?
Conversation
to implement the focus action
this would be quite useful |
@garganurag893 Hello I also tested that PR, can you just merge it and republish npm package plz ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@garganurag893 please merge this PR 🙏🏼, @LPMendoza great job 👍🏼
It's so great that this is still not merged. |
Please add the necessary typing in + focus: () => void; |
I have added the necessary typing to this PR |
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 |
Now the developers can use the focus method to focus the input.
Example:
<PhoneInput ref={inputPhone} /> <Button title='focus' onPress={() => inputPhone.current?.focus()} />