I am creating a cart product listing page using API call I am getting all data. I want to put stepper on each item, as earlier you had suggested how to initialize stepper for multiple items on same page using each loop.
This time i want to know how to do this if I want to put stepper initial value according to the API response.
Suppose I might have product quantity different for each product it might be initial value 1 for some or 2 or 10.
How do I initialize stepper using loop with dynamic initial value?
Any suggestions will be helpful.