I would like to know how to create input fields according to the value I add in a field.
Ex: I have a field of type number that has a minimum value of 1 the maximum value of 4 and the default value is 1:
<input type="number" min="1" max="4" value="1" />
Since the default field value is 1, an input field must be created, but if the user changes this value to 3, 2 more fields must be created totaling 3 fields.