Given below. I'm trying to find a way how to append the input value under the same keys using FormData
results:
sku: [saafasf, hjhkk]
quantity: [3, 3]
<div>
<input value="saafasf" readonly="" id="sku" name="sku">
<input value="3" readonly="" id="quantity" name="quantity">
<input value="hjhkk" readonly="" id="sku" name="sku">
<input value="3" readonly="" id="quantity" name="quantity">
</div>
Trying to find a way how to get the array results with multiple values under one key via FromData