Skip to content
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

When any of the OTP inputs gets focus call the onFocus callback with the #75

Closed
wants to merge 2 commits into from
Closed

When any of the OTP inputs gets focus call the onFocus callback with the #75

wants to merge 2 commits into from

Conversation

nestoralonso
Copy link
Contributor

  • What does this PR do?
    Proposal on a onChange, onBlur callback for the whole OtpInput

  • Any background context you want to provide?

When any of the children inputs of OtpInput gets focus the onFocus callback is called with event and the selected index

@nestoralonso
Copy link
Contributor Author

Fixes #17 It is more a proposal for your consideration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant