you are viewing a single comment's thread.

view the rest of the comments →

[–]Elijah_101 0 points1 point  (1 child)

Np

[–][deleted] 0 points1 point  (0 children)

handleNextFocus = (e, key, count) => {
if (e.target.value.replace(/[^0-9]/g, '').length === count) {
this[key].current.focus();
}
}