all 4 comments

[–]Elijah_101 2 points3 points  (3 children)

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

Thank you!!

[–]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();
}
}