JSFiddle - React, Tailwind, and code Playground
HTML
<input id="current1" type="text" value="" maxlength="1" /> <br />
<input id="current2" type="text" value="2" maxlength="1" />
JavaScript
$( '#current1' ).keyup( function(e) {
$( '#current2' ).focus().setSelectionRange( 0, 10);
});