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

onChangeCode callback and defaultCode props added. Readme updated. #33

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Conversation

rahulhaque
Copy link

Added a callback function onChangeCode that will return the last input code every time a value is changed. Added a new props defaultCode which will set the initial value for the code inputs. defaultCode must be used with autoFocus set to false as this overrides the focus for inputs.

@Dror-Bar
Copy link

Dror-Bar commented Jul 3, 2018

Thanks, I've been using this specifically for the onChanceCode function.

@rahulhaque
Copy link
Author

@retyui, I was thinking of doing the same but didn't manage to get enough time. Your repo looks good. However, the readme can include some more info. Thank you btw.

@rahulhaque
Copy link
Author

rahulhaque commented Aug 20, 2018

It would be nice if you could include all the props in the table. i.e onChangeCode callback is missing. @retyui

@AliRehman7141
Copy link

I have tried this onChangeCode callback but it didn't give the code

@Dror-Bar
Copy link

@AliRehman7141 Did you implement the code in node modules?

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.

5 participants