@tony-brunsman
I’ll take a look at all of this, thank you for the answer.
I try to acheve :
Each producer can have 1 to X type of product.
For that I use a multi reference field.
For example: Fruit,vegetable,meat
I would like to be able to display all the elements as a text field.
“Fruit vegetable meat”
The loop is used to concatenate the values of the list to have only 1 string.
But i’m not a JS guru so i do my best atm