Open rahulhaque opened 6 years ago
Thanks, I've been using this specifically for the onChanceCode function.
@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.
It would be nice if you could include all the props in the table. i.e onChangeCode
callback is missing. @retyui
I have tried this onChangeCode callback but it didn't give the code
@AliRehman7141 Did you implement the code in node modules?
Added a callback function
onChangeCode
that will return the last inputcode
every time a value is changed. Added a new propsdefaultCode
which will set the initial value for the code inputs.defaultCode
must be used withautoFocus
set tofalse
as this overrides the focus for inputs.