i have code like this, how to show another input form. let say i want to choose value="2" will show 2 new input form.
<div class="col-4">
<label for="proses">Proses</label>
<select class="form-control" id="prosess" name="prosess" required>
<option value="" hidden>- Pilih Proses -</option>
<option value="1">1 Proses</option>
<option value="2">2 Proses</option>
<option value="3">3 Proses</option>
<option value="4">4 Proses</option>
<option value="5">5 Proses</option>
<option value="6">6 Proses</option>
<option value="7">7 Proses</option>
<option value="8">8 Proses</option>
<option value="9">9 Proses</option>
</select>
</div>
2
Answers
is this what you looking for ?
I hope this will help you. I simply create the array and save in state. On basis of that apply map to render the inputs.