Как сделать счетчик ввода значений?
Подскажите пожалуйста как реализовать счетчик значений как на фото https://i.sstatic.net/nZiNw.png . Получается что в input можно писать только 1 цифру, и инпуты как-бы открываются по очереди когда вписывают значения. Спасибо
.tabs-transmit-readings__inputs-block{
display: flex;
align-items: flex-end;
}
input {
border: 1px solid transparent;
background: #f8f8f8;
border-radius: 2px;
width: 54px;
height: 54px;
padding: 12px 20px;
margin: 0px 5px 0px 0px;
font-weight: 600;
font-size: 24px;
line-height: math.div(29, 24);
pointer-events: none;
}
input._active{
pointer-events: auto;
border: 1px solid #ebebeb;
background:#ffffff;
}
span {
font-weight: 600;
font-size: 24px;
line-height: math.div(29, 24);
color: #afafaf;
margin: 0px 5px 0px 0px;
}
<div class="tabs-transmit-readings__inputs-block">
<input autocomplete="off" type="text" name="form[]" class="_active">
<input autocomplete="off" type="text" name="form[]">
<input autocomplete="off" type="text" name="form[]">
<input autocomplete="off" type="text" name="form[]">
<input autocomplete="off" type="text" name="form[]">
<input autocomplete="off" type="text" name="form[]">
<span>,</span>
<input autocomplete="off" type="text" name="form[]">
<input autocomplete="off" type="text" name="form[]">
<input autocomplete="off" type="text" name="form[]">
</div>