JSFiddle - React, Tailwind, and code Playground

HTML

<html>
<body>
<head>
<script>
window.onload=function(){
	document.getElementById("form").onkeyup=function(event){
		var input=event.target;//alert(input.name);
		if(input.type=="text"){
			input.nextElementSibling.focus();
		}
	}
}
</script>
</head>
<div>
  <div>
      <form id="form">
         <input type="text" name="dato[]">
         <input type="text" name="dato[]">
         <input type="text" name="dato[]">
      </form>
  </div>
</div>
</body>
</html>