TS
Size: a a a
TS
V
V
V
V
TS
V
V
V
V
y
<input type="text" name="test"/>
<script>
const component = document.querySelector('[name="test"]');
component.addEventListener('change', e => {
const { target, target: { value } } = e;
target.value = value.toString().replace(/[^\d]+/, '');
});
</script>
V
V
Б
S
S
Б
y
Б
S