About my intention: It’s a product creation pop, the user creates a name and adds a list of ingredients that make up this product; There is already an ingredients table that has fields such as kilo cost and unit price.
The value that appears next to the ingredient in the repeating group is to know how much of each ingredient is needed to make the recipe, then calculate the price. Is the reason for the list clearer?