JSFiddle - React, Tailwind, and code Playground
HTML
<ul>
<li><input id="start" type="text" /></li>
<li><input class="auto" type="text" /></li>
<li><input class="auto" type="text" /></li>
<li><input class="auto" type="text" /></li>
<li><input class="auto" type="text" /></li>
</ul>
JavaScript
$(document).ready(function() {
$("#start").change(function() {
// Get the value entered
var value = new Number($(this).val());
// Increment the other fields
$(".auto").each(function() {
value++;
$(this).val(value);
});
});
});