Skip to content

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?

@rahulhaque rahulhaque closed this Oct 30, 2025
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