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.
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.