How to repeat items in the repeater group?

I’m creating a screen for printing product labels, these products have a quantity, I want to repeat the label in the repeater group according to the quantity of that product.


name: White mug
quantity: 6
barcode: 1336578989
I need this product to be repeated in the RG 6 times. Any ideas on how to do this?

Define a State that is a list of Products Order, every Product Order has a Product, and a Qty.

When selecting a product and putting the quantity, create the Product Orders.

Then fill the repeating group with the Product Orders created.

I think it should work.

1 Like