JSFiddle - React, Tailwind, and code Playground
JavaScript
jQuery(function($){
var $body = $('body'), i = 0, id, step, $elm;
while (true) {
id = 'inp_' + i;
step = '0.'+ Array(i + 1).join('0') + '1';
$body.append(step + ' :');
$body.append('<input id="' + id + '" step="' + step + '" type="number" />');
$body.append('<br>');
i++;
if ($('#'+id)[0].step != step || i == 30) break;
}
});